public class DataFormRadAutoCompleteEditor extends EntityPropertyEditor
EntityPropertyEditor.OnValidationEventListener
Constructor and Description |
---|
DataFormRadAutoCompleteEditor(RadDataForm dataForm,
EntityProperty property) |
DataFormRadAutoCompleteEditor(RadDataForm dataForm,
EntityProperty property,
AutoCompleteAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
AutoCompleteAdapter |
getAdapter()
Returns current AutoCompleteAdapter
|
RadAutoCompleteTextView |
getAutoCompleteView() |
DisplayMode |
getDisplayMode()
Returns current display mode
|
void |
setAdapter(AutoCompleteAdapter value)
Sets current AutoCompleteAdapter.
|
void |
setDisplayMode(DisplayMode mode)
Sets current display mode.
|
void |
setEnabled(boolean enabled) |
void |
updateAdapter() |
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, setHeaderLayout, setLabelPosition, setLabelWidth
public DataFormRadAutoCompleteEditor(RadDataForm dataForm, EntityProperty property)
public DataFormRadAutoCompleteEditor(RadDataForm dataForm, EntityProperty property, AutoCompleteAdapter adapter)
public void setEnabled(boolean enabled)
setEnabled
in class EntityPropertyViewer
public RadAutoCompleteTextView getAutoCompleteView()
public DisplayMode getDisplayMode()
public void setDisplayMode(DisplayMode mode)
mode
- DisplayModepublic AutoCompleteAdapter getAdapter()
public void updateAdapter()
public void setAdapter(AutoCompleteAdapter value)
value
- DisplayModepublic Object value()
EntityPropertyEditor
value
in class EntityPropertyEditor