|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.core.pcdmenu.widgets.NumberWidget
public class NumberWidget
Wraps a widget(s) for selecting numeric values.
| Constructor Summary | |
|---|---|
NumberWidget(java.lang.String label,
int min,
int max,
int value)
Creates a new instance of EZSlider |
|
| Method Summary | |
|---|---|
void |
close()
Notifies the variable that the program has now completed successfully, and it can perform any closing operations |
java.awt.Component |
display()
Displays the current object |
java.lang.Object |
getValue()
Returns the current value of the variable. |
void |
stateChanged(javax.swing.event.ChangeEvent e)
Handles synchronization between the slider and the spinner. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumberWidget(java.lang.String label,
int min,
int max,
int value)
data - the map containing all of the information required to make the number selector.| Method Detail |
|---|
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenere - used to determine which widget was changed.public java.awt.Component display()
Widget
display in interface Widgetpublic void close()
Widget
close in interface Widgetpublic java.lang.Object getValue()
getValue in interface Widget
|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||