public class XFormRadioGroup extends AbstractSwingXFormField<JPanel> implements XFormOptionsField
Modifier and Type | Field and Description |
---|---|
protected ButtonGroup |
buttonGroup |
protected List<Object> |
items |
protected Map<String,ButtonModel> |
models |
CURRENT_DIRECTORY
Constructor and Description |
---|
XFormRadioGroup(String[] values) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object value) |
Object[] |
getOptions() |
int[] |
getSelectedIndexes() |
Object[] |
getSelectedOptions() |
String |
getValue() |
void |
setDisabled() |
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
protected ButtonGroup buttonGroup
protected Map<String,ButtonModel> models
public XFormRadioGroup(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 setDisabled()
Copyright © 2019. All Rights Reserved.