Class AbstractTimeField<VALUE>
- java.lang.Object
-
- org.teamapps.ux.component.AbstractComponent
-
- org.teamapps.ux.component.field.AbstractField<VALUE>
-
- org.teamapps.ux.component.field.datetime.AbstractTimeField<VALUE>
-
- All Implemented Interfaces:
ClientObject,Component,TextInputHandlingField
- Direct Known Subclasses:
LocalTimeField
public abstract class AbstractTimeField<VALUE> extends AbstractField<VALUE> implements TextInputHandlingField
-
-
Field Summary
Fields Modifier and Type Field Description Event<SpecialKey>onSpecialKeyPressedEvent<java.lang.String>onTextInput-
Fields inherited from class org.teamapps.ux.component.field.AbstractField
onBlur, onFocus, onValueChanged, onVisibilityChanged
-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered
-
-
Constructor Summary
Constructors Constructor Description AbstractTimeField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.LocalegetLocale()DateTimeFormatDescriptorgetTimeFormat()com.ibm.icu.util.ULocalegetULocale()voidhandleUiEvent(org.teamapps.dto.UiEvent event)booleanisShowClearButton()booleanisShowDropDownButton()voidmapAbstractTimeFieldUiValues(org.teamapps.dto.AbstractUiTimeField uiTimeField)Event<SpecialKey>onSpecialKeyPressed()Event<java.lang.String>onTextInput()voidsetLocale(java.util.Locale locale)voidsetShowClearButton(boolean showClearButton)voidsetShowDropDownButton(boolean showDropDownButton)voidsetTimeFormat(DateTimeFormatDescriptor timeFormat)voidsetULocale(com.ibm.icu.util.ULocale locale)-
Methods inherited from class org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, clearValidatorMessages, convertUiValueToUxValue, convertUxValueToUiValue, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, isEmpty, isEmptyValue, isRequired, isValid, isValueChangedByClient, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setRequiredIfVisibleAndEditable, setValue, setValueChangedByClient, setVisible, validate
-
Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiComponent, createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, toggleCssClass, 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.ClientObject
handleUiQuery
-
Methods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
Methods inherited from interface org.teamapps.ux.component.field.TextInputHandlingField
defaultHandleTextInputEvent
-
-
-
-
Field Detail
-
onTextInput
public final Event<java.lang.String> onTextInput
-
onSpecialKeyPressed
public final Event<SpecialKey> onSpecialKeyPressed
-
-
Method Detail
-
handleUiEvent
public void handleUiEvent(org.teamapps.dto.UiEvent event)
- Specified by:
handleUiEventin interfaceClientObject- Overrides:
handleUiEventin classAbstractField<VALUE>
-
mapAbstractTimeFieldUiValues
public void mapAbstractTimeFieldUiValues(org.teamapps.dto.AbstractUiTimeField uiTimeField)
-
isShowDropDownButton
public boolean isShowDropDownButton()
-
setShowDropDownButton
public void setShowDropDownButton(boolean showDropDownButton)
-
getLocale
public java.util.Locale getLocale()
-
getULocale
public com.ibm.icu.util.ULocale getULocale()
-
setLocale
public void setLocale(java.util.Locale locale)
-
setULocale
public void setULocale(com.ibm.icu.util.ULocale locale)
-
getTimeFormat
public DateTimeFormatDescriptor getTimeFormat()
-
setTimeFormat
public void setTimeFormat(DateTimeFormatDescriptor timeFormat)
-
isShowClearButton
public boolean isShowClearButton()
-
setShowClearButton
public void setShowClearButton(boolean showClearButton)
-
onTextInput
public Event<java.lang.String> onTextInput()
- Specified by:
onTextInputin interfaceTextInputHandlingField
-
onSpecialKeyPressed
public Event<SpecialKey> onSpecialKeyPressed()
- Specified by:
onSpecialKeyPressedin interfaceTextInputHandlingField
-
-