|
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.ListWidget
org.biolegato.menu.ChoiceList
public class ChoiceList
A wrapper class used to abstract choice lists within command windows.
| Field Summary | |
|---|---|
protected javax.swing.JList |
choice_list
The list containing the data. |
| Fields inherited from class org.biolegato.menu.ListWidget |
|---|
index, label, names, values |
| Constructor Summary | |
|---|---|
ChoiceList(java.lang.String label,
java.lang.String[] names,
java.lang.String[] values,
int index)
Creates a new instance of GDEComboBox (represents "choice_list" in GDE menu files). |
|
| Method Summary | |
|---|---|
void |
close()
Closes the open object |
void |
display(java.awt.Container dest)
Displays the choice list |
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.lang.String[] names,
java.lang.String[] values,
int index)
data - the data to create the combobox with.| Method Detail |
|---|
public java.lang.Object getValue()
public void display(java.awt.Container dest)
dest - the destination to display the choice list widgetpublic void close()
|
BioLegato 0.7.5 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||