public class JComboBoxFormField extends AbstractSwingXFormField<JComboBox> implements ItemListener, XFormOptionsField
CURRENT_DIRECTORY
Constructor and Description |
---|
JComboBoxFormField(Object[] values) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object value) |
Object[] |
getOptions() |
int[] |
getSelectedIndexes() |
Object[] |
getSelectedOptions() |
String |
getValue() |
void |
itemStateChanged(ItemEvent e) |
void |
setOptions(Object[] values) |
void |
setSelectedOptions(Object[] options) |
void |
setValue(String value) |
getComponent, isEnabled, setEnabled, setProperty, setToolTip
addComponentEnabler, addFormFieldListener, addFormFieldValidator, fireValueChanged, getProperty, isMultiRow, isRequired, isVisible, removeFieldListener, removeFormFieldValidator, setRequired, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addComponentEnabler, addFormFieldListener, addFormFieldValidator, getProperty, isEnabled, isRequired, isVisible, removeFieldListener, removeFormFieldValidator, setEnabled, setProperty, setRequired, setToolTip, validate
public JComboBoxFormField(Object[] values)
public void setValue(String value)
setValue
in interface XFormField
public String getValue()
getValue
in interface XFormField
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
public void addItem(Object value)
addItem
in interface XFormOptionsField
public void setOptions(Object[] values)
setOptions
in interface XFormOptionsField
public Object[] getOptions()
getOptions
in interface XFormOptionsField
public Object[] getSelectedOptions()
getSelectedOptions
in interface XFormOptionsField
public void setSelectedOptions(Object[] options)
setSelectedOptions
in interface XFormOptionsField
public int[] getSelectedIndexes()
getSelectedIndexes
in interface XFormOptionsField
Copyright © 2019. All Rights Reserved.