|
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.ChoiceList
public class ChoiceList
A wrapper class used to abstract choice lists within command windows.
| Field Summary | |
|---|---|
protected javax.swing.JList |
choice_list
The combobox contianing the data. |
| Fields inherited from class org.biolegato.core.pcdmenu.widgets.ListWidget |
|---|
choices, label, value |
| Constructor Summary | |
|---|---|
ChoiceList(java.lang.String label,
java.util.Map<java.lang.String,java.lang.String> choices,
java.lang.String value)
Creates a new instance of GDEComboBox (represents "choice_list" in GDE menu files). |
|
| Method Summary | |
|---|---|
void |
close()
Closes the open object |
java.awt.Component |
display()
Displays the choice list |
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 |
| Field Detail |
|---|
protected javax.swing.JList choice_list
| Constructor Detail |
|---|
public ChoiceList(java.lang.String label,
java.util.Map<java.lang.String,java.lang.String> choices,
java.lang.String value)
data - the data to create the combobox with.| Method Detail |
|---|
public static java.lang.String getType()
public java.lang.Object getNewDefault()
public java.lang.Object getValue()
public java.awt.Component display()
public void close()
|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||