Class InstantDateTimeField
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.field.AbstractField<VALUE>
org.teamapps.ux.component.field.datetime.AbstractDateTimeField<InstantDateTimeField,java.time.Instant>
org.teamapps.ux.component.field.datetime.InstantDateTimeField
- All Implemented Interfaces:
ClientObject,Component
public class InstantDateTimeField extends AbstractDateTimeField<InstantDateTimeField,java.time.Instant>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringtimeZoneIdFields inherited from class org.teamapps.ux.component.field.AbstractField
onValueChanged, onVisibilityChanged -
Constructor Summary
Constructors Constructor Description InstantDateTimeField() -
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.AbstractDateTimeField
getDateFormat, getTimeFormat, isFavorPastDates, isShowDropDownButton, mapAbstractDateTimeFieldUiValues, setDateFormat, setFavorPastDates, setShowDropDownButton, setTimeFormatMethods inherited from class org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, convertUxValueToUiValue, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, handleUiEvent, isEmpty, isRequired, isValid, isValueChangedByClient, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setRequiredIfVisibleAndEditable, 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, unrender
-
Field Details
-
timeZoneId
protected java.lang.String timeZoneId
-
-
Constructor Details
-
InstantDateTimeField
public InstantDateTimeField()
-
-
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>
-