|
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.ListWidget
org.biolegato.core.pcdmenu.widgets.Chooser
public class Chooser
Wrapper class for a group of radiobuttons. NOTE: This can be added to any JContainer since it extends JPanel.
| Field Summary |
|---|
| Fields inherited from class org.biolegato.core.pcdmenu.widgets.ListWidget |
|---|
choices, label, value |
| Constructor Summary | |
|---|---|
Chooser(java.lang.String label,
java.util.Map<java.lang.String,java.lang.String> choices,
java.lang.String value)
Creates a new instance of EZChooser. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Handles selection changes of the radio buttons. |
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 |
getNewDefault()
This function is used to maintain user variable settings from window to window. |
static java.lang.String |
getType()
Returns the name of this type of variable. |
java.lang.Object |
getValue()
Returns the value of the variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Chooser(java.lang.String label,
java.util.Map<java.lang.String,java.lang.String> choices,
java.lang.String value)
data - The value/name list of each of the radiobuttons| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - used to determine which button is selected (by use of getActionCommand()).public static java.lang.String getType()
public java.lang.Object getNewDefault()
public java.lang.Object getValue()
getValue in interface Widgetpublic java.awt.Component display()
Widget
display in interface Widgetpublic void close()
Widget
close 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 | |||||||||