public class DataFormSpinnerEditor extends EntityPropertyEditor implements AdapterView.OnItemSelectedListener
EntityPropertyEditor.OnValidationEventListener
Constructor and Description |
---|
DataFormSpinnerEditor(RadDataForm dataForm,
EntityProperty property) |
DataFormSpinnerEditor(RadDataForm dataForm,
EntityProperty property,
EditorSpinnerAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
EditorSpinnerAdapter |
getAdapter() |
int |
getSpinnerItemLayoutId() |
void |
onItemSelected(AdapterView<?> parent,
View view,
int position,
long id) |
void |
onNothingSelected(AdapterView<?> parent) |
void |
setAdapter(EditorSpinnerAdapter value) |
void |
setSpinnerItemLayoutId(int value) |
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 DataFormSpinnerEditor(RadDataForm dataForm, EntityProperty property)
public DataFormSpinnerEditor(RadDataForm dataForm, EntityProperty property, EditorSpinnerAdapter adapter)
public void setSpinnerItemLayoutId(int value)
public int getSpinnerItemLayoutId()
public EditorSpinnerAdapter getAdapter()
public void setAdapter(EditorSpinnerAdapter value)
public Object value()
EntityPropertyEditor
value
in class EntityPropertyEditor
public void onItemSelected(AdapterView<?> parent, View view, int position, long id)
onItemSelected
in interface AdapterView.OnItemSelectedListener
public void onNothingSelected(AdapterView<?> parent)
onNothingSelected
in interface AdapterView.OnItemSelectedListener