|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.QuadContentItem
synergynetframework.appsystem.contentsystem.items.Frame
synergynetframework.appsystem.contentsystem.items.SketchPad
synergynetframework.appsystem.contentsystem.items.MathPad
public class MathPad
The Class MathPad.
Nested Class Summary | |
---|---|
static interface |
MathPad.MathHandwritingListener
The listener interface for receiving mathHandwriting events. |
Nested classes/interfaces inherited from class synergynetframework.appsystem.contentsystem.items.SketchPad |
---|
SketchPad.DrawListener |
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
MathPad(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new math pad. |
Method Summary | |
---|---|
void |
addMathHandwritingListener(MathPad.MathHandwritingListener listener)
Adds the math handwriting listener. |
void |
clearMathExpressions()
Clear math expressions. |
mit.ai.nl.core.Expression |
getCurrentExpression()
Gets the current expression. |
java.util.List<mit.ai.nl.core.Expression> |
getMathExpressions()
Gets the math expressions. |
void |
removeHandwritingListener(MathPad.MathHandwritingListener listener)
Removes the handwriting listener. |
void |
removeHandwritingListeners()
Removes the handwriting listeners. |
void |
setMathEngineEnabled(boolean isEnabled)
Sets the math engine enabled. |
void |
startNewExpression()
Start new expression. |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.SketchPad |
---|
addDrawListener, clear, clearAll, draw, draw, drawLine, drawString, fillRectangle, getBackgroundColour, getClearArea, getDrawData, getLineWidth, getSketchArea, getTextColor, isDrawEnabled, removeDrawListener, removeDrawListeners, setBackgroundColour, setClearArea, setDrawEnabled, setHeight, setLineWidth, setSketchArea, setTextColor, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.Frame |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImageResources, getImages, removeAllImages, removeImage |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.QuadContentItem |
---|
addSizeChangeListener, clone, getHeight, getWidth, isAutoFitSize, removeSizeChangeListener, setAutoFit, setAutoFitSize |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.ISketchPadImplementation |
---|
addDrawListener, clear, clearAll, draw, draw, drawLine, drawString, fillRectangle, getBackgroundColour, getClearArea, getDrawData, getLineWidth, getSketchArea, getTextColor, isDrawEnabled, removeDrawListener, removeDrawListeners, setBackgroundColour, setClearArea, setDrawEnabled, setLineWidth, setSketchArea, setTextColor |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IFrameImplementation |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IQuadContentItemImplementation |
---|
setAutoFitSize, setHeight, setWidth |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Constructor Detail |
---|
public MathPad(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public void addMathHandwritingListener(MathPad.MathHandwritingListener listener)
IMathPadImplementation
addMathHandwritingListener
in interface IMathPadImplementation
listener
- the listenerpublic void clearMathExpressions()
IMathPadImplementation
clearMathExpressions
in interface IMathPadImplementation
public mit.ai.nl.core.Expression getCurrentExpression()
IMathPadImplementation
getCurrentExpression
in interface IMathPadImplementation
public java.util.List<mit.ai.nl.core.Expression> getMathExpressions()
IMathPadImplementation
getMathExpressions
in interface IMathPadImplementation
public void removeHandwritingListener(MathPad.MathHandwritingListener listener)
IMathPadImplementation
removeHandwritingListener
in interface IMathPadImplementation
listener
- the listenerpublic void removeHandwritingListeners()
IMathPadImplementation
removeHandwritingListeners
in interface IMathPadImplementation
public void setMathEngineEnabled(boolean isEnabled)
IMathPadImplementation
setMathEngineEnabled
in interface IMathPadImplementation
isEnabled
- the new math engine enabledpublic void startNewExpression()
IMathPadImplementation
startNewExpression
in interface IMathPadImplementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |