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 -
Constructor Summary
Constructors Constructor Description AbstractDateTimeField() -
Method Summary
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
addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, convertUiValueToUxValue, convertUxValueToUiValue, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, handleUiEvent, isEmpty, isRequired, isValid, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setValue, setVisible, validateMethods inherited from class org.teamapps.ux.component.AbstractComponent
createUiComponent, createUiComponentReference, destroy, getDebuggingId, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, isVisible, mapAbstractUiComponentProperties, onDestroyed, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setDebuggingId, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, toString, unrender
-
Constructor Details
-
AbstractDateTimeField
public AbstractDateTimeField()
-
-
Method Details
-
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- Overrides:
doDestroyin classAbstractComponent
-