public class DataFormIntegerEditor extends EntityPropertyEditor implements TextWatcher, View.OnFocusChangeListener
EntityPropertyEditor.OnValidationEventListener
NoCopySpan.Concrete
Constructor and Description |
---|
DataFormIntegerEditor(RadDataForm dataForm,
EntityProperty property) |
DataFormIntegerEditor(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) |
Function<Number,String> |
getValueFormatter() |
void |
onFocusChange(View v,
boolean hasFocus) |
void |
onTextChanged(CharSequence s,
int start,
int before,
int count) |
void |
setValueFormatter(Function<Number,String> valueFormatter) |
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 DataFormIntegerEditor(RadDataForm dataForm, EntityProperty property)
public DataFormIntegerEditor(RadDataForm dataForm, int layoutId, int headerLayoutId, int headerViewId, int editorLayoutId, int editorViewId, int validationLayoutId, EntityProperty property)
public Object value()
EntityPropertyEditor
value
in class EntityPropertyEditor
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 void onFocusChange(View v, boolean hasFocus)
onFocusChange
in interface View.OnFocusChangeListener