T - Value typeB - Concrete configurator typepublic interface InputConfigurator<T,B extends InputConfigurator<T,B>> extends ComponentConfigurator<B>
Input component.| Modifier and Type | Interface and Description |
|---|---|
static interface |
InputConfigurator.BaseFieldConfigurator<T>
Base field configurator.
|
ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
B |
locale(Locale locale)
Sets the locale of this
Input component. |
B |
readOnly()
Set the input component as read-only.
|
B |
tabIndex(int tabIndex)
Sets the tabulator index of the component.
|
B |
withValue(T value)
Sets an initial value for the field.
|
B |
withValueChangeListener(ValueHolder.ValueChangeListener<T> listener)
Add a
ValueHolder.ValueChangeListener to be notified when the input value changes. |
caption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListenerB readOnly()
B tabIndex(int tabIndex)
If the tab index is not set (is set to zero), the default tab order is used. The order is somewhat browser-dependent, but generally follows the HTML structure of the page.
A negative value means that the component is completely removed from the tabulation order and can not be reached by pressing the Tab key at all.
tabIndex - The tab order of this component. Indexes usually start from 1. Zero means that default tab order
should be used. A negative value means that the field should not be included in the tabbing sequence.B withValue(T value)
value - The value to setB withValueChangeListener(ValueHolder.ValueChangeListener<T> listener)
ValueHolder.ValueChangeListener to be notified when the input value changes.listener - The ValueChangeListener to addCopyright © 2019 The Holon Platform. All rights reserved.