public class XFormMultiSelectList extends AbstractSwingXFormField<JPanel> implements XFormOptionsField
Modifier and Type | Class and Description |
---|---|
class |
XFormMultiSelectList.CheckListCellRenderer |
CURRENT_DIRECTORY
Constructor and Description |
---|
XFormMultiSelectList(String[] values) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object value) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
Object[] |
getOptions() |
int[] |
getSelectedIndexes() |
Object[] |
getSelectedOptions() |
String |
getValue() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setDefault(Color color,
int... defIndex) |
void |
setEnabled(boolean enabled) |
void |
setOptions(Object[] values) |
void |
setSelectedOptions(Object[] options) |
void |
setValue(String value) |
getComponent, isEnabled, 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, setProperty, setRequired, setToolTip, validate
public XFormMultiSelectList(String[] values)
public String getValue()
getValue
in interface XFormField
public void setValue(String value)
setValue
in interface XFormField
public void addItem(Object value)
addItem
in interface XFormOptionsField
public Object[] getOptions()
getOptions
in interface XFormOptionsField
public Object[] getSelectedOptions()
getSelectedOptions
in interface XFormOptionsField
public void setOptions(Object[] values)
setOptions
in interface XFormOptionsField
public void setSelectedOptions(Object[] options)
setSelectedOptions
in interface XFormOptionsField
public int[] getSelectedIndexes()
getSelectedIndexes
in interface XFormOptionsField
public void setDefault(Color color, int... defIndex)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void setEnabled(boolean enabled)
setEnabled
in interface XFormField
setEnabled
in class AbstractSwingXFormField<JPanel>
Copyright © 2019. All Rights Reserved.