public static interface TextInputField.TextChangeNotifier extends TextInputField
TextInputField.CaseConversion, TextInputField.CaseConversionSupported, TextInputField.CursorPositionSupported, TextInputField.EnterPressEvent, TextInputField.EnterPressListener, TextInputField.EnterPressNotifier, TextInputField.MaxLengthLimited, TextInputField.TextChangeEvent, TextInputField.TextChangeEventMode, TextInputField.TextChangeListener, TextInputField.TextChangeNotifier, TextInputField.TextSelectionSupported, TextInputField.TrimSupported
Field.Validator
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.ContextHelpIconClickEvent, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasContextHelp, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasOptionsStyleProvider, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OptionsStyleProvider, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
void |
addTextChangeListener(TextInputField.TextChangeListener listener) |
TextInputField.TextChangeEventMode |
getTextChangeEventMode() |
int |
getTextChangeTimeout()
Gets the timeout used to fire
TextInputField.TextChangeEvent s when the
getTextChangeEventMode() is TextInputField.TextChangeEventMode.LAZY or
TextInputField.TextChangeEventMode.TIMEOUT . |
void |
removeTextChangeListener(TextInputField.TextChangeListener listener) |
void |
setTextChangeEventMode(TextInputField.TextChangeEventMode mode)
Sets the mode how the TextField triggers
TextInputField.TextChangeEvent s. |
void |
setTextChangeTimeout(int timeout)
The text change timeout modifies how often text change events are
communicated to the application when
getTextChangeEventMode() is
TextInputField.TextChangeEventMode.LAZY or TextInputField.TextChangeEventMode.TIMEOUT . |
addValidator, getRequiredMessage, getValidators, isRequired, removeValidator, setRequired, setRequiredMessage
getDatasource, getMetaProperty, getMetaPropertyPath, setDatasource
addListener, addValueChangeListener, getValue, removeListener, removeValueChangeListener, setValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
getCaption, getDescription, setCaption, setDescription
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
commit, discard, isBuffered, isModified, setBuffered
getTabIndex, isFocusable, setFocusable, setTabIndex
void addTextChangeListener(TextInputField.TextChangeListener listener)
void removeTextChangeListener(TextInputField.TextChangeListener listener)
int getTextChangeTimeout()
TextInputField.TextChangeEvent
s when the
getTextChangeEventMode()
is TextInputField.TextChangeEventMode.LAZY
or
TextInputField.TextChangeEventMode.TIMEOUT
.void setTextChangeTimeout(int timeout)
getTextChangeEventMode()
is
TextInputField.TextChangeEventMode.LAZY
or TextInputField.TextChangeEventMode.TIMEOUT
.timeout
- timeout in millisecondsTextInputField.TextChangeEventMode getTextChangeEventMode()
TextInputField.TextChangeEvent
s.void setTextChangeEventMode(TextInputField.TextChangeEventMode mode)
TextInputField.TextChangeEvent
s.mode
- the new mode