public abstract class DataFormDateTimeEditor extends EntityPropertyEditor implements View.OnClickListener
EntityPropertyEditor.OnValidationEventListener
Constructor and Description |
---|
DataFormDateTimeEditor(RadDataForm dataForm,
int layoutId,
int headerLayoutId,
int headerViewId,
int editorLayoutId,
int editorViewId,
int validationLayoutId,
EntityProperty property) |
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar() |
DateFormat |
getDateFormat() |
AlertDialog |
getDialog() |
Long |
getTimeInMillis() |
Function<Object,String> |
getValueToStringConverter() |
void |
onClick(View v) |
void |
setCalendar(Calendar value) |
void |
setDateFormat(DateFormat value) |
void |
setTimeInMillis(Long value) |
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 DataFormDateTimeEditor(RadDataForm dataForm, int layoutId, int headerLayoutId, int headerViewId, int editorLayoutId, int editorViewId, int validationLayoutId, EntityProperty property)
public DateFormat getDateFormat()
public void setTimeInMillis(Long value)
public Long getTimeInMillis()
public void setCalendar(Calendar value)
public Calendar getCalendar()
public void setDateFormat(DateFormat value)
public AlertDialog getDialog()
public Object value()
EntityPropertyEditor
value
in class EntityPropertyEditor
public void onClick(View v)
onClick
in interface View.OnClickListener