Class AbstractDateTimeField<FIELD extends AbstractDateTimeField<FIELD,VALUE>,VALUE>
- java.lang.Object
-
- org.teamapps.ux.component.AbstractComponent
-
- org.teamapps.ux.component.field.AbstractField<VALUE>
-
- org.teamapps.ux.component.field.datetime.AbstractDateTimeField<FIELD,VALUE>
-
- All Implemented Interfaces:
Component
- Direct Known Subclasses:
InstantDateTimeField,LocalDateTimeField
public abstract class AbstractDateTimeField<FIELD extends AbstractDateTimeField<FIELD,VALUE>,VALUE> extends AbstractField<VALUE>
-
-
Field Summary
-
Fields inherited from class org.teamapps.ux.component.field.AbstractField
onValueChanged, onVisibilityChanged
-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
onDestroyed, onRendered
-
-
Constructor Summary
Constructors Constructor Description AbstractDateTimeField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoDestroy()Override this method to release resources whenever this component gets destroyedjava.lang.StringgetDateFormat()java.lang.StringgetTimeFormat()booleanisFavorPastDates()booleanisShowDropDownButton()protected voidmapAbstractDateTimeFieldUiValues(org.teamapps.dto.AbstractUiDateTimeField uiField)voidsetDateFormat(java.lang.String dateFormat)voidsetFavorPastDates(boolean favorPastDates)voidsetShowDropDownButton(boolean showDropDownButton)voidsetTimeFormat(java.lang.String timeFormat)-
Methods inherited from class org.teamapps.ux.component.field.AbstractField
addFieldMessage, applyValueFromUi, convertUiValueToUxValue, convertUxValueToUiValue, focus, getEditingMode, getFieldMessages, getValue, handleUiEvent, isVisible, mapAbstractFieldAttributesToUiField, removeFieldMessage, removeFieldMessages, removeValidationMessages, setAndLockValue, setEditingMode, setFieldMessages, setValidationMessage, setValue, setVisible
-
Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiComponent, createUiComponentReference, destroy, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, toString, unrender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.component.Component
setCssStyle
-
-
-
-
Method Detail
-
mapAbstractDateTimeFieldUiValues
protected void mapAbstractDateTimeFieldUiValues(org.teamapps.dto.AbstractUiDateTimeField uiField)
-
isShowDropDownButton
public boolean isShowDropDownButton()
-
setShowDropDownButton
public void setShowDropDownButton(boolean showDropDownButton)
-
isFavorPastDates
public boolean isFavorPastDates()
-
setFavorPastDates
public void setFavorPastDates(boolean favorPastDates)
-
getDateFormat
public java.lang.String getDateFormat()
-
setDateFormat
public void setDateFormat(java.lang.String dateFormat)
-
getTimeFormat
public java.lang.String getTimeFormat()
-
setTimeFormat
public void setTimeFormat(java.lang.String timeFormat)
-
doDestroy
protected void doDestroy()
Description copied from class:AbstractComponentOverride this method to release resources whenever this component gets destroyed- Specified by:
doDestroyin classAbstractField<VALUE>
-
-