|
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 switch| Method Detail |
public int getHandlerCount()
getHandlerCount in class PaletteButtonModelpublic java.awt.Point handlerToPoint(int i)
handlerToPoint in class PaletteButtonModeli - Index of the handler.
public int pointToHandler(java.awt.Point p)
pointToHandler in class PaletteButtonModelp - Point in icon coordiantes.
public javax.swing.Icon getIcon()
getIcon in class PaletteButtonModelpublic 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 | |||||||||