|
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.DecimalWidget
public class DecimalWidget
Wraps a widget(s) for selecting numeric values.
| Constructor Summary | |
|---|---|
DecimalWidget(java.lang.String label,
double min,
double max,
double value)
Creates a new instance of DecimalWidget |
|
| 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 |
static java.lang.String |
getType()
Returns the name of this type of variable. |
java.lang.Object |
getValue()
Returns the current value of the variable. |
void |
stateChanged(javax.swing.event.ChangeEvent e)
Receives the new value on spinner changes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DecimalWidget(java.lang.String label,
double min,
double max,
double 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 static java.lang.String getType()
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 | |||||||||