T - Value typepublic interface ViewComponentBuilder<T> extends ComponentBuilder<ViewComponent<T>,ViewComponentBuilder<T>>
ViewComponents.ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
ViewComponentBuilder<T> |
forProperty(com.holonplatform.core.property.Property<T> property)
Build a
ViewComponent using given property for value presentation and configuration
parameters source. |
ViewComponentBuilder<T> |
valueDisplayConverter(com.holonplatform.vaadin7.internal.components.LabelViewComponent.StringValueConverter<T> stringConverter)
Sets the converter to use to display values
|
ViewComponentBuilder<T> |
withValueChangeListener(ValueHolder.ValueChangeListener<T> listener)
Add a
ValueHolder.ValueChangeListener to the component. |
build, deferLocalizationcaption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, immediate, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListenerViewComponentBuilder<T> forProperty(com.holonplatform.core.property.Property<T> property)
ViewComponent using given property for value presentation and configuration
parameters source. The Property.present(Object) method will be called
when value presentation is required.property - Property (not null)ViewComponentBuilder<T> valueDisplayConverter(com.holonplatform.vaadin7.internal.components.LabelViewComponent.StringValueConverter<T> stringConverter)
stringConverter - the StringValueConverter to setViewComponentBuilder<T> withValueChangeListener(ValueHolder.ValueChangeListener<T> listener)
ValueHolder.ValueChangeListener to the component.listener - The ValueChangeListener to addCopyright © 2019 The Holon Platform. All rights reserved.