C - Form content component typepublic static interface PropertyViewForm.PropertyViewFormBuilder<C extends com.vaadin.ui.Component> extends ComposableComponent.Builder<PropertyValueComponentSource,C,PropertyViewForm.PropertyViewFormBuilder<C>>, PropertyViewGroup.Builder<PropertyViewForm,PropertyViewForm.PropertyViewFormBuilder<C>>, ComponentBuilder<PropertyViewForm,PropertyViewForm.PropertyViewFormBuilder<C>>
PropertyViewForm builder.ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
PropertyViewForm.PropertyViewFormBuilder<C> |
componentConfigurator(com.holonplatform.core.property.Property<?> property,
Consumer<ComponentConfigurator.BaseComponentConfigurator> configurator)
Provide a custom configurator
Consumer to configure the Component associated with given
property before render it in UI. |
PropertyViewForm.PropertyViewFormBuilder<C> |
hidePropertyCaption(com.holonplatform.core.property.Property<?> property)
Set the caption for the view component bound to given property as hidden.
|
PropertyViewForm.PropertyViewFormBuilder<C> |
propertyCaption(com.holonplatform.core.property.Property<?> property,
com.holonplatform.core.i18n.Localizable caption)
Set the caption for the view component bound to given property.
|
PropertyViewForm.PropertyViewFormBuilder<C> |
propertyCaption(com.holonplatform.core.property.Property<?> property,
String caption)
Set the caption for the view component bound to given property.
|
PropertyViewForm.PropertyViewFormBuilder<C> |
propertyCaption(com.holonplatform.core.property.Property<?> property,
String defaultCaption,
String messageCode,
Object... arguments)
Set the caption for the view component bound to given property.
|
componentsWidthMode, composeOnAttach, composer, initializerbind, bind, bind, build, hidden, ignoreMissingViewComponents, properties, properties, withPostProcessorbuild, deferLocalization, dragSource, dropTargetcaption, 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, withShortcutListenerPropertyViewForm.PropertyViewFormBuilder<C> propertyCaption(com.holonplatform.core.property.Property<?> property, com.holonplatform.core.i18n.Localizable caption)
Property itself (which is Localizable).property - Property for which to set the view component caption (not null)caption - Localizable view component captionPropertyViewForm.PropertyViewFormBuilder<C> propertyCaption(com.holonplatform.core.property.Property<?> property, String caption)
Property itself (which is Localizable).property - Property for which to set the view component caption (not null)caption - View component captionPropertyViewForm.PropertyViewFormBuilder<C> propertyCaption(com.holonplatform.core.property.Property<?> property, String defaultCaption, String messageCode, Object... arguments)
Property itself (which is Localizable).property - Property for which to set the view component caption (not null)defaultCaption - Default caption if no translation is available for given messageCode for
current Locale, or no LocalizationContext is available at allmessageCode - Caption translation message keyarguments - Optional translation argumentsPropertyViewForm.PropertyViewFormBuilder<C> hidePropertyCaption(com.holonplatform.core.property.Property<?> property)
property - Property for which to hide the view component caption (not null)PropertyViewForm.PropertyViewFormBuilder<C> componentConfigurator(com.holonplatform.core.property.Property<?> property, Consumer<ComponentConfigurator.BaseComponentConfigurator> configurator)
Consumer to configure the Component associated with given
property before render it in UI. The Component instance must be a subclass of
AbstractComponent to allow component configuration.property - Property for which to set component configurator (not null)configurator - Consumer to invoke the ComponentConfigurator method and configure the component
associated to the property (not null)Copyright © 2019 The Holon Platform. All rights reserved.