apps.mathpadapp.mathtool
Interface MathToolControlPanel.ControlPanelListener

All Known Implementing Classes:
ControlPanelListenerImpl
Enclosing class:
MathToolControlPanel

public static interface MathToolControlPanel.ControlPanelListener

The listener interface for receiving controlPanel events. The class that is interested in processing a controlPanel event implements this interface, and the object created with that class is registered with a component using the component's addControlPanelListener method. When the controlPanel event occurs, that object's appropriate method is invoked.

See Also:
ControlPanelEvent

Method Summary
 void answerPadDisplayed()
          Answer pad displayed.
 void lineWidthChanged(float lineWidth)
          Line width changed.
 void padChanged(int padIndex)
          Pad changed.
 void padCleared()
          Pad cleared.
 void padCreated(MathPad newPad)
          Invoked when pad is created.
 void padRemoved(int padIndex)
          Pad removed.
 void textColorChanged(java.awt.Color textColor)
          Text color changed.
 void writingStateChanged(MathTool.WritingState writingState)
          Writing state changed.
 

Method Detail

answerPadDisplayed

void answerPadDisplayed()
Answer pad displayed.


lineWidthChanged

void lineWidthChanged(float lineWidth)
Line width changed.

Parameters:
lineWidth - the line width

padChanged

void padChanged(int padIndex)
Pad changed.

Parameters:
padIndex - the pad index

padCleared

void padCleared()
Pad cleared.


padCreated

void padCreated(MathPad newPad)
Invoked when pad is created.

Parameters:
newPad - the new pad

padRemoved

void padRemoved(int padIndex)
Pad removed.

Parameters:
padIndex - the pad index

textColorChanged

void textColorChanged(java.awt.Color textColor)
Text color changed.

Parameters:
textColor - the text color

writingStateChanged

void writingStateChanged(MathTool.WritingState writingState)
Writing state changed.

Parameters:
writingState - the writing state