|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEFrame
synergynetframework.appsystem.contentsystem.jme.items.JMESketchPad
synergynetframework.appsystem.contentsystem.jme.items.JMEMathPad
public class JMEMathPad
The Class JMEMathPad.
| Constructor Summary | |
|---|---|
JMEMathPad(ContentItem contentItem)
Instantiates a new JME math pad. |
|
| Method Summary | |
|---|---|
void |
addMathHandwritingListener(MathPad.MathHandwritingListener listener)
Adds the math handwriting listener. |
void |
clearAll()
Clear all. |
void |
clearMathExpressions()
Clear math expressions. |
void |
cursorClicked(long cursorID,
int x,
int y)
Cursor clicked. |
void |
cursorDragged(long id,
int x,
int y)
Cursor dragged. |
void |
cursorReleased(long cursorID,
int x,
int y)
Cursor released. |
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 |
renderSketch()
Render sketch. |
void |
setMathEngineEnabled(boolean isEnabled)
Sets the math engine enabled. |
void |
startNewExpression()
Start new expression. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMESketchPad |
|---|
addDrawListener, clear, cursorPressed, draw, draw, drawLine, drawString, fillRectangle, getBackgroundColour, getClearArea, getDrawData, getHeight, getImageHeight, getImageWidth, getLineWidth, getSketchArea, getTextColor, getWidth, init, isDrawEnabled, makeFlickable, removeDrawListener, removeDrawListeners, setBackGround, setBackgroundColour, setBorder, setClearArea, setDrawEnabled, setHeight, setLineWidth, setRotateTranslateScalable, setSketchArea, setTextColor, setWidth |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEFrame |
|---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage, setAutoFitSize |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem |
|---|
cursorChanged, cursorClicked, cursorPressed, cursorReleased |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem |
|---|
contains, getImplementationObject, getLocalLocation, hasCollision, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible |
| 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, 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 JMEMathPad(ContentItem contentItem)
contentItem - the content item| Method Detail |
|---|
public void addMathHandwritingListener(MathPad.MathHandwritingListener listener)
IMathPadImplementation
addMathHandwritingListener in interface IMathPadImplementationlistener - the listenerpublic void clearAll()
ISketchPadImplementation
clearAll in interface ISketchPadImplementationclearAll in class JMESketchPadpublic void clearMathExpressions()
IMathPadImplementation
clearMathExpressions in interface IMathPadImplementation
public void cursorClicked(long cursorID,
int x,
int y)
JMESketchPad
cursorClicked in class JMESketchPadcursorID - the cursor idx - the xy - the y
public void cursorDragged(long id,
int x,
int y)
JMESketchPad
cursorDragged in class JMESketchPadid - the idx - the xy - the y
public void cursorReleased(long cursorID,
int x,
int y)
JMESketchPad
cursorReleased in class JMESketchPadcursorID - the cursor idx - the xy - the ypublic mit.ai.nl.core.Expression getCurrentExpression()
IMathPadImplementation
getCurrentExpression in interface IMathPadImplementationpublic java.util.List<mit.ai.nl.core.Expression> getMathExpressions()
IMathPadImplementation
getMathExpressions in interface IMathPadImplementationpublic void removeHandwritingListener(MathPad.MathHandwritingListener listener)
IMathPadImplementation
removeHandwritingListener in interface IMathPadImplementationlistener - the listenerpublic void removeHandwritingListeners()
IMathPadImplementation
removeHandwritingListeners in interface IMathPadImplementationpublic void renderSketch()
JMESketchPad
renderSketch in class JMESketchPadpublic void setMathEngineEnabled(boolean isEnabled)
IMathPadImplementation
setMathEngineEnabled in interface IMathPadImplementationisEnabled - 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 | |||||||||