Class SelectOneOfMany
java.lang.Object
com.marginallyclever.donatello.select.Select
com.marginallyclever.donatello.select.SelectOneOfMany
-
Constructor Summary
ConstructorsConstructorDescriptionSelectOneOfMany(String internalName, String labelKey) SelectOneOfMany(String internalName, String labelKey, String[] options, int defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidattach(JComponent panel, GridBagConstraints gbc) getField()getLabel()intvoidvoidremoveItem(String s) voidsetNewList(String[] list) voidvoidsetReadOnly(boolean state) voidsetSelectedIndex(int index) Methods inherited from class com.marginallyclever.donatello.select.Select
addSelectListener, getName, removeSelectListener, setName
-
Constructor Details
-
SelectOneOfMany
-
SelectOneOfMany
-
-
Method Details
-
attach
-
setReadOnly
public void setReadOnly(boolean state) - Specified by:
setReadOnlyin classSelect
-
removeAll
public void removeAll() -
addItem
-
removeItem
-
setReadOnly
public void setReadOnly() -
getSelectedItem
-
getSelectedIndex
public int getSelectedIndex() -
setSelectedIndex
public void setSelectedIndex(int index) -
setNewList
-
getLabel
-
getField
-