public class DataFormTextEditor extends EntityPropertyEditor implements TextWatcher, View.OnFocusChangeListener
EntityPropertyEditor.OnValidationEventListener
NoCopySpan.Concrete
Constructor and Description |
---|
DataFormTextEditor(RadDataForm dataForm,
EntityProperty property) |
DataFormTextEditor(RadDataForm dataForm,
int layoutId,
int headerLayoutId,
int headerViewId,
int editorLayoutId,
int editorViewId,
int validationLayoutId,
EntityProperty property) |
Modifier and Type | Method and Description |
---|---|
void |
afterTextChanged(Editable s) |
void |
beforeTextChanged(CharSequence s,
int start,
int count,
int after) |
void |
onFocusChange(View v,
boolean hasFocus) |
void |
onTextChanged(CharSequence s,
int start,
int before,
int count) |
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 DataFormTextEditor(RadDataForm dataForm, EntityProperty property)
public DataFormTextEditor(RadDataForm dataForm, int layoutId, int headerLayoutId, int headerViewId, int editorLayoutId, int editorViewId, int validationLayoutId, EntityProperty property)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
beforeTextChanged
in interface TextWatcher
public void onTextChanged(CharSequence s, int start, int before, int count)
onTextChanged
in interface TextWatcher
public void afterTextChanged(Editable s)
afterTextChanged
in interface TextWatcher
public Object value()
EntityPropertyEditor
value
in class EntityPropertyEditor
public void onFocusChange(View v, boolean hasFocus)
onFocusChange
in interface View.OnFocusChangeListener