public class DataFormRadioGroupEditor extends EntityPropertyEditor implements RadioGroup.OnCheckedChangeListener
EntityPropertyEditor.OnValidationEventListener
Constructor and Description |
---|
DataFormRadioGroupEditor(RadDataForm dataForm,
EntityProperty property) |
DataFormRadioGroupEditor(RadDataForm dataForm,
int layoutId,
int headerLayoutId,
int headerViewId,
int editorLayoutId,
int editorViewId,
int validationLayoutId,
EntityProperty property) |
Modifier and Type | Method and Description |
---|---|
void |
applyCustomizeButtons() |
Procedure<RadioButton> |
getCustomizeButtons() |
Object[] |
getValues() |
Function<Object,String> |
getValueToStringConverter() |
void |
onCheckedChanged(RadioGroup group,
int checkedId) |
void |
setCustomizeButtons(Procedure<RadioButton> customizeButtons) |
void |
setValues(Object[] values) |
void |
setValueToStringConverter(Function<Object,String> converter) |
Object |
value()
Gets the value currently produced by the editor.
|
addEditorChangeListener, addValidationListener, getCommitMode, getValidationLayoutId, getValidationMode, getValidationViewBehavior, isValidated, load, loadPropertyValue, removeEditorChangeListener, removeValidationListener, setCommitMode, setValidationLayoutId, setValidationMode, setValidationViewBehavior, tryApplyValueToProperty, unload, updateLayoutWithElements, validate, validationCompleted, validationIcon, validationInfo, validationView
applyParams, getEditorView, getHeaderView, getLabelPosition, getLabelWidth, imageView, isEnabled, notifyEntityPropertyChanged, onDataFormEnabledChanged, property, rootLayout, setEditorLayout, setEnabled, setHeaderLayout, setLabelPosition, setLabelWidth
public DataFormRadioGroupEditor(RadDataForm dataForm, int layoutId, int headerLayoutId, int headerViewId, int editorLayoutId, int editorViewId, int validationLayoutId, EntityProperty property)
public DataFormRadioGroupEditor(RadDataForm dataForm, EntityProperty property)
public Procedure<RadioButton> getCustomizeButtons()
public void setCustomizeButtons(Procedure<RadioButton> customizeButtons)
public void applyCustomizeButtons()
public Object value()
EntityPropertyEditor
value
in class EntityPropertyEditor
public void setValues(Object[] values)
public Object[] getValues()
public void onCheckedChanged(RadioGroup group, int checkedId)
onCheckedChanged
in interface RadioGroup.OnCheckedChangeListener