public class JStringListFormField extends AbstractSwingXFormField<StringListFormComponent> implements XFormTextField, XFormOptionsField
CURRENT_DIRECTORY
Constructor and Description |
---|
JStringListFormField(String tooltip) |
JStringListFormField(String tooltip,
String defaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object value) |
String[] |
getOptions() |
int[] |
getSelectedIndexes() |
Object[] |
getSelectedOptions() |
String |
getValue() |
void |
setOptions(Object[] values) |
void |
setSelectedOptions(Object[] options) |
void |
setValue(String value) |
void |
setWidth(int columns) |
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 JStringListFormField(String tooltip)
public void setValue(String value)
setValue
in interface XFormField
public String getValue()
getValue
in interface XFormField
public void setWidth(int columns)
setWidth
in interface XFormTextField
public void addItem(Object value)
addItem
in interface XFormOptionsField
public String[] getOptions()
getOptions
in interface XFormOptionsField
public int[] getSelectedIndexes()
getSelectedIndexes
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
Copyright © 2019. All Rights Reserved.