synergynetframework.appsystem.contentsystem.items.implementation.interfaces
Interface IMathPadImplementation

All Superinterfaces:
IContentItemImplementation, IFrameImplementation, IOrthoContentItemImplementation, IQuadContentItemImplementation, ISketchPadImplementation
All Known Implementing Classes:
JMEMathPad, MathPad

public interface IMathPadImplementation
extends ISketchPadImplementation

The Interface IMathPadImplementation.


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 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.IOrthoContentItemImplementation
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, flick, getMaxScale, getMinScale, isFlickable, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
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
 

Method Detail

addMathHandwritingListener

void addMathHandwritingListener(MathPad.MathHandwritingListener listener)
Adds the math handwriting listener.

Parameters:
listener - the listener

clearMathExpressions

void clearMathExpressions()
Clear math expressions.


getCurrentExpression

mit.ai.nl.core.Expression getCurrentExpression()
Gets the current expression.

Returns:
the current expression

getMathExpressions

java.util.List<mit.ai.nl.core.Expression> getMathExpressions()
Gets the math expressions.

Returns:
the math expressions

removeHandwritingListener

void removeHandwritingListener(MathPad.MathHandwritingListener listener)
Removes the handwriting listener.

Parameters:
listener - the listener

removeHandwritingListeners

void removeHandwritingListeners()
Removes the handwriting listeners.


setMathEngineEnabled

void setMathEngineEnabled(boolean isEnabled)
Sets the math engine enabled.

Parameters:
isEnabled - the new math engine enabled

startNewExpression

void startNewExpression()
Start new expression.