|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.mathpadapp.conceptmapping.GraphNode
apps.mathpadapp.util.MTFrame
apps.mathpadapp.mathtool.MathTool
public class MathTool
The Class MathTool.
Nested Class Summary | |
---|---|
static interface |
MathTool.MathToolListener
The listener interface for receiving mathTool events. |
static class |
MathTool.SeparatorState
The Enum SeparatorState. |
static class |
MathTool.WritingState
The Enum WritingState. |
Nested classes/interfaces inherited from class apps.mathpadapp.conceptmapping.GraphNode |
---|
GraphNode.ConceptMapListener |
Constructor Summary | |
---|---|
MathTool(ContentSystem contentSystem)
Instantiates a new math tool. |
|
MathTool(ContentSystem contentSystem,
GraphManager graphManager)
Instantiates a new math tool. |
Method Summary | |
---|---|
void |
addMathToolListener(MathTool.MathToolListener listener)
Adds the math tool listener. |
MathPad |
addNewPad()
Adds the new pad. |
java.util.List<MathPad> |
getAllPads()
Gets the all pads. |
AnswerDialog |
getAnswerDialog()
Gets the answer dialog. |
AssignmentHandler |
getAssignmentHandler()
Gets the assignment handler. |
MathToolControlPanel |
getControlPanel()
Gets the control panel. |
AssignmentInfo |
getCurrentAssignmentInfo()
Gets the current assignment info. |
MathPad |
getCurrentPad()
Gets the current pad. |
MathTool.WritingState |
getCurrentWritingState()
Gets the current writing state. |
java.util.HashMap<java.lang.Integer,java.util.List<DrawData>> |
getDrawData()
Gets the draw data. |
MathToolInitSettings |
getInitSettings()
Gets the inits the settings. |
void |
init(MathToolInitSettings settings)
Inits the. |
void |
removeMathToolListener(MathTool.MathToolListener listener)
Removes the math tool listener. |
void |
removeMathToolListeners()
Removes the math tool listeners. |
void |
removePad(int padIndex)
Removes the pad. |
void |
setLineWidth(float lineWidth)
Sets the line width. |
void |
setSeparatorState(MathTool.SeparatorState separatorState)
Sets the separator state. |
void |
setTextColor(java.awt.Color color)
Sets the text color. |
void |
setWritingState(MathTool.WritingState initWritingState)
Sets the writing state. |
void |
showPad(int padIndex)
Show pad. |
void |
terminate()
Terminate. |
Methods inherited from class apps.mathpadapp.util.MTFrame |
---|
close, getTitle, getTopBar, getWindow, setHeight, setTitle, setWidth |
Methods inherited from class apps.mathpadapp.conceptmapping.GraphNode |
---|
addConceptMapListener, fireNodeConnected, fireNodeDisconnected, getClosePoint, getGraphManager, getIncomingLinks, getLinkPoint, getLocation, getName, getNodeItem, getOutgoingLinks, isLinkable, registerIncomingLink, registerOutgoingLink, remove, removeConceptMapListeners, setClosePoint, setLinkable, setLinkPoint, setLocation, unregisterAllLinks, unregisterLink, updateConnectionPoints |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MathTool(ContentSystem contentSystem)
contentSystem
- the content systempublic MathTool(ContentSystem contentSystem, GraphManager graphManager)
contentSystem
- the content systemgraphManager
- the graph managerMethod Detail |
---|
public void addMathToolListener(MathTool.MathToolListener listener)
listener
- the listenerpublic MathPad addNewPad()
public java.util.List<MathPad> getAllPads()
public AnswerDialog getAnswerDialog()
public AssignmentHandler getAssignmentHandler()
public MathToolControlPanel getControlPanel()
public AssignmentInfo getCurrentAssignmentInfo()
public MathPad getCurrentPad()
public MathTool.WritingState getCurrentWritingState()
public java.util.HashMap<java.lang.Integer,java.util.List<DrawData>> getDrawData()
public MathToolInitSettings getInitSettings()
public void init(MathToolInitSettings settings)
settings
- the settingspublic void removeMathToolListener(MathTool.MathToolListener listener)
listener
- the listenerpublic void removeMathToolListeners()
public void removePad(int padIndex)
padIndex
- the pad indexpublic void setLineWidth(float lineWidth)
lineWidth
- the new line widthpublic void setSeparatorState(MathTool.SeparatorState separatorState)
separatorState
- the new separator statepublic void setTextColor(java.awt.Color color)
color
- the new text colorpublic void setWritingState(MathTool.WritingState initWritingState)
initWritingState
- the new writing statepublic void showPad(int padIndex)
padIndex
- the pad indexpublic void terminate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |