T - Value typeC - Concrete configurator typepublic interface ViewComponentConfigurator<T,C extends ViewComponentConfigurator<T,C>> extends HtmlComponentConfigurator<C>, HasEnabledConfigurator<C>, HasLabelConfigurator<C>, ClickNotifierConfigurator<ViewComponent<T>,ClickEvent<ViewComponent<T>>,C>, DeferrableLocalizationConfigurator<C>
ViewComponent configurator.ComponentConfigurator.BaseComponentConfiguratorFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
C |
labelVisible(boolean visible)
Set whether the label is visible.
|
C |
withValue(T value)
Sets an initial value for the component.
|
C |
withValueChangeListener(ValueHolder.ValueChangeListener<T,ValueHolder.ValueChangeEvent<T>> listener)
Add a
ValueHolder.ValueChangeListener to the component. |
elementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamefullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedstyleName, styleNamesdescription, description, description, title, title, titledisabled, enabledlabel, label, labelonClick, withClickListener, withClickShortcut, withClickShortcutKeydeferLocalization, withDeferredLocalizationisDeferredLocalizationEnabledC labelVisible(boolean visible)
visible - whether the label is visibleC withValue(T value)
value - The initial value to setC withValueChangeListener(ValueHolder.ValueChangeListener<T,ValueHolder.ValueChangeEvent<T>> listener)
ValueHolder.ValueChangeListener to the component.listener - The ValueHolder.ValueChangeListener to add (not null)Copyright © 2019 The Holon Platform. All rights reserved.