|
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.ComboBoxWidget
public class ComboBoxWidget
A wrapper class used to abstract combo boxes within command windows.
| Field Summary | |
|---|---|
protected javax.swing.JComboBox |
combobox
The combobox contianing the data |
javax.swing.plaf.basic.BasicComboBoxUI |
COMBOBOX_UI
The UI to enable scrolling of the JComboBox. |
| Fields inherited from class org.biolegato.menu.ListWidget |
|---|
index, label, names, values |
| Constructor Summary | |
|---|---|
ComboBoxWidget(java.lang.String label,
java.lang.String[] names,
java.lang.String[] values,
int index)
Creates a new instance of EZComboBox (represents "choice_list" in GDE menu files). |
|
| 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 combobox widget |
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.JComboBox combobox
public final javax.swing.plaf.basic.BasicComboBoxUI COMBOBOX_UI
| Constructor Detail |
|---|
public ComboBoxWidget(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 void display(java.awt.Container dest)
dest - the destination to display the combobox widgetpublic java.lang.Object getValue()
public void close()
Widget
|
BioLegato 0.7.5 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||