|
BioLegato 0.7.5 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biolegato.menu.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 |
void |
display(java.awt.Container dest)
Displays the number widget |
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 void display(java.awt.Container dest)
display in interface Widgetdest - the destination to display the number widgetpublic void close()
Widget
close in interface Widgetpublic java.lang.Object getValue()
getValue in interface Widget
|
BioLegato 0.7.5 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||