|
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.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 |
comboboxUI
The UI to enable scrolling of the JComboBox. |
| Fields inherited from class org.biolegato.core.pcdmenu.widgets.ListWidget |
|---|
choices, label, value |
| Constructor Summary | |
|---|---|
ComboBoxWidget(java.lang.String label,
java.util.Map<java.lang.String,java.lang.String> choices,
java.lang.String value)
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 |
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 |
| Field Detail |
|---|
protected javax.swing.JComboBox combobox
public final javax.swing.plaf.basic.BasicComboBoxUI comboboxUI
| Constructor Detail |
|---|
public ComboBoxWidget(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 java.awt.Component display()
Widget
public static java.lang.String getType()
public java.lang.Object getNewDefault()
public java.lang.Object getValue()
public void close()
Widget
|
BioLegato 0.7.3 Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||