T
- Value typepublic interface ViewComponentBuilder<T> extends ComponentBuilder<ViewComponent<T>,ViewComponentBuilder<T>>
ViewComponent
s.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.vaadin.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, deferLocalization, dragSource, dropTarget
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, withShortcutListener
ViewComponentBuilder<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.vaadin.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 © 2018 The Holon Platform. All rights reserved.