Class LocalDateField
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.field.AbstractField<LocalDate>
org.teamapps.ux.component.field.datetime.LocalDateField
- All Implemented Interfaces:
ClientObject,Component,TextInputHandlingField
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.teamapps.ux.component.field.AbstractField
onBlur, onFocus, onValueChanged, onVisibilityChangedFields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertUiValueToUxValue(Object value) convertUxValueToUiValue(LocalDate localDate) Converts a server-side value to a client-side field-specific value.com.ibm.icu.util.ULocalevoidhandleUiEvent(UiEvent event) booleanbooleanbooleanbooleanbooleanvoidsetCalendarIconEnabled(boolean calendarIconEnabled) voidsetDateFormat(DateTimeFormatDescriptor dateFormat) voidsetDefaultSuggestionDate(LocalDate defaultSuggestionDate) voidsetDropDownMode(LocalDateField.DropDownMode dropDownMode) voidsetEmptyText(String emptyText) voidsetFavorPastDates(boolean favorPastDates) voidvoidsetShowClearButton(boolean showClearButton) voidsetShowDropDownButton(boolean showDropDownButton) voidsetShuffledFormatSuggestionsEnabled(boolean shuffledFormatSuggestionsEnabled) voidsetULocale(com.ibm.icu.util.ULocale locale) Methods inherited from class org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, clearValidatorMessages, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, isEmpty, isEmptyValue, isRequired, isValid, isValueChangedByClient, isValueLocked, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setRequiredIfVisibleAndEditable, setValue, setValueChangedByClient, setVisible, validateMethods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, toggleCssClass, 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.ClientObject
handleUiQueryMethods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClassMethods inherited from interface org.teamapps.ux.component.field.TextInputHandlingField
defaultHandleTextInputEvent
-
Field Details
-
onTextInput
-
onSpecialKeyPressed
-
-
Constructor Details
-
LocalDateField
public LocalDateField()
-
-
Method Details
-
createUiComponent
- Specified by:
createUiComponentin classAbstractComponent
-
convertUiValueToUxValue
- Overrides:
convertUiValueToUxValuein classAbstractField<LocalDate>
-
convertUxValueToUiValue
Description copied from class:AbstractFieldConverts a server-side value to a client-side field-specific value. Implementations must not have any side effects to the component!- Overrides:
convertUxValueToUiValuein classAbstractField<LocalDate>- Parameters:
localDate- the server-side value- Returns:
- the object to be sent to the ui
-
handleUiEvent
- Specified by:
handleUiEventin interfaceClientObject- Overrides:
handleUiEventin classAbstractField<LocalDate>
-
isShowDropDownButton
public boolean isShowDropDownButton() -
setShowDropDownButton
public void setShowDropDownButton(boolean showDropDownButton) -
isFavorPastDates
public boolean isFavorPastDates() -
setFavorPastDates
public void setFavorPastDates(boolean favorPastDates) -
getLocale
-
getULocale
public com.ibm.icu.util.ULocale getULocale() -
setLocale
-
setULocale
public void setULocale(com.ibm.icu.util.ULocale locale) -
getDateFormat
-
setDateFormat
-
isShowClearButton
public boolean isShowClearButton() -
setShowClearButton
public void setShowClearButton(boolean showClearButton) -
onTextInput
- Specified by:
onTextInputin interfaceTextInputHandlingField
-
onSpecialKeyPressed
- Specified by:
onSpecialKeyPressedin interfaceTextInputHandlingField
-
getDefaultSuggestionDate
-
setDefaultSuggestionDate
-
isShuffledFormatSuggestionsEnabled
public boolean isShuffledFormatSuggestionsEnabled() -
setShuffledFormatSuggestionsEnabled
public void setShuffledFormatSuggestionsEnabled(boolean shuffledFormatSuggestionsEnabled) -
getDropDownMode
-
setDropDownMode
-
getEmptyText
-
setEmptyText
-
setCalendarIconEnabled
public void setCalendarIconEnabled(boolean calendarIconEnabled) -
isCalendarIconEnabled
public boolean isCalendarIconEnabled()
-