|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.mathpadapp.mathtool.LineWidthPanel
public class LineWidthPanel
The Class LineWidthPanel.
Nested Class Summary | |
---|---|
static interface |
LineWidthPanel.LineWidthPanelListener
The listener interface for receiving lineWidthPanel events. |
Constructor Summary | |
---|---|
LineWidthPanel(ContentSystem contentSystem,
int noOfWidthLevels,
int widthShift)
Instantiates a new line width panel. |
Method Summary | |
---|---|
void |
addLineWidthPanelListener(LineWidthPanel.LineWidthPanelListener listener)
Adds the line width panel listener. |
void |
fireLineWidthChanged(float lineWidth)
Fire line width changed. |
float |
getCurrentLineWidth()
Gets the current line width. |
void |
removeLineWidthPanelListeners()
Removes the line width panel listeners. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineWidthPanel(ContentSystem contentSystem, int noOfWidthLevels, int widthShift)
contentSystem
- the content systemnoOfWidthLevels
- the no of width levelswidthShift
- the width shiftMethod Detail |
---|
public void addLineWidthPanelListener(LineWidthPanel.LineWidthPanelListener listener)
listener
- the listenerpublic void fireLineWidthChanged(float lineWidth)
lineWidth
- the line widthpublic float getCurrentLineWidth()
public void removeLineWidthPanelListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |