Class InstantDateField
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.field.AbstractField<VALUE>
org.teamapps.ux.component.field.datetime.AbstractDateField<InstantDateField,java.time.Instant>
org.teamapps.ux.component.field.datetime.InstantDateField
- All Implemented Interfaces:
ClientObject,Component,TextInputHandlingField
public class InstantDateField extends AbstractDateField<InstantDateField,java.time.Instant>
-
Field Summary
Fields inherited from class org.teamapps.ux.component.field.datetime.AbstractDateField
dateFormat, favorPastDates, onSpecialKeyPressed, onTextInput, showClearButton, showDropDownButtonFields inherited from class org.teamapps.ux.component.field.AbstractField
onValueChanged, onVisibilityChanged -
Constructor Summary
Constructors Constructor Description InstantDateField() -
Method Summary
Modifier and Type Method Description java.time.InstantconvertUiValueToUxValue(java.lang.Object value)org.teamapps.dto.UiFieldcreateUiComponent()java.lang.StringgetTimeZoneId()voidsetTimeZoneId(java.lang.String timeZoneId)Methods inherited from class org.teamapps.ux.component.field.datetime.AbstractDateField
getDateFormat, handleUiEvent, isFavorPastDates, isShowClearButton, isShowDropDownButton, mapAbstractDateFieldUiValues, onSpecialKeyPressed, onTextInput, setDateFormat, setFavorPastDates, setShowClearButton, setShowDropDownButtonMethods inherited from class org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, convertUxValueToUiValue, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, isEmpty, isRequired, isValid, isValueChangedByClient, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setValue, setVisible, validateMethods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setDebuggingId, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, toString, unrenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.field.TextInputHandlingField
defaultHandleTextInputEvent
-
Constructor Details
-
InstantDateField
public InstantDateField()
-
-
Method Details
-
createUiComponent
public org.teamapps.dto.UiField createUiComponent()- Specified by:
createUiComponentin classAbstractComponent
-
getTimeZoneId
public java.lang.String getTimeZoneId() -
setTimeZoneId
public void setTimeZoneId(java.lang.String timeZoneId) -
convertUiValueToUxValue
public java.time.Instant convertUiValueToUxValue(java.lang.Object value)- Overrides:
convertUiValueToUxValuein classAbstractField<java.time.Instant>
-