|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jet.PaletteButtonModel | +--org.jet.tracks.RightSwitchButtonModel
Model for right switch palette button.
Indexes are in range from 0 to count-1.
Field Summary |
Fields inherited from class org.jet.PaletteButtonModel |
listenerList |
Constructor Summary | |
RightSwitchButtonModel(double l,
double r,
java.lang.String s)
Creates button model for right switch. |
Method Summary | |
int |
getHandlerCount()
Gets handlers count in this model. |
javax.swing.Icon |
getIcon()
Gets an icon of this model. |
java.lang.String |
getToolTipText()
Gets tooltip text. |
java.awt.Point |
handlerToPoint(int i)
Returns point of handler with specified index. |
int |
pointToHandler(java.awt.Point p)
Returns index of handler with specified point. |
Methods inherited from class org.jet.PaletteButtonModel |
addChangeListener, clearSelection, fireStateChanged, getSelectedHandler, isSelectionEmpty, removeChangeListener, setSelectedHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RightSwitchButtonModel(double l, double r, java.lang.String s)
l
- Length of the switch.r
- Radius of the switch.s
- Skos of switchMethod Detail |
public int getHandlerCount()
getHandlerCount
in class PaletteButtonModel
public java.awt.Point handlerToPoint(int i)
handlerToPoint
in class PaletteButtonModel
i
- Index of the handler.
public int pointToHandler(java.awt.Point p)
pointToHandler
in class PaletteButtonModel
p
- Point in icon coordiantes.
public javax.swing.Icon getIcon()
getIcon
in class PaletteButtonModel
public java.lang.String getToolTipText()
getToolTipText
in class PaletteButtonModel
|
jET |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |