C - Form content component typepublic static interface PropertyInputForm.PropertyInputFormBuilder<C extends com.vaadin.ui.Component> extends ComposableComponent.Builder<PropertyValueComponentSource,C,PropertyInputForm.PropertyInputFormBuilder<C>>, PropertyInputGroup.Builder<PropertyInputForm,PropertyInputForm.PropertyInputFormBuilder<C>>, ComponentBuilder<PropertyInputForm,PropertyInputForm.PropertyInputFormBuilder<C>>
PropertyInputForm builder.ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
PropertyInputForm.PropertyInputFormBuilder<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. |
PropertyInputForm.PropertyInputFormBuilder<C> |
hidePropertyCaption(com.holonplatform.core.property.Property<?> property)
Set the caption for the input component bound to given property as hidden.
|
PropertyInputForm.PropertyInputFormBuilder<C> |
propertyCaption(com.holonplatform.core.property.Property<?> property,
com.holonplatform.core.i18n.Localizable caption)
Set the caption for the input component bound to given property.
|
PropertyInputForm.PropertyInputFormBuilder<C> |
propertyCaption(com.holonplatform.core.property.Property<?> property,
String caption)
Set the caption for the input component bound to given property.
|
PropertyInputForm.PropertyInputFormBuilder<C> |
propertyCaption(com.holonplatform.core.property.Property<?> property,
String defaultCaption,
String messageCode,
Object... arguments)
Set the caption for the input component bound to given property.
|
componentsWidthMode, composeOnAttach, composer, initializerbind, bind, bind, bind, bind, bind, bind, build, defaultValue, excludeReadOnlyProperties, hidden, ignoreMissingInputs, ignorePropertyValidation, properties, properties, propertiesValidationStatusHandler, readOnly, required, required, required, required, required, stopOverallValidationAtFirstFailure, stopValidationAtFirstFailure, validateOnValueChange, validationStatusHandler, validationStatusHandler, validationStatusHandler, validationStatusHandler, valueChangeMode, valueChangeMode, valueChangeTimeout, withPostProcessor, withValidator, withValidator, withValidator, withValidator, withValueChangeListener, withValueChangeListener, withValueChangeListenerbuild, 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, withShortcutListenerPropertyInputForm.PropertyInputFormBuilder<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 input caption (not null)caption - Localizable input captionPropertyInputForm.PropertyInputFormBuilder<C> propertyCaption(com.holonplatform.core.property.Property<?> property, String caption)
Property itself (which is Localizable).property - Property for which to set the input caption (not null)caption - Input component captionPropertyInputForm.PropertyInputFormBuilder<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 input 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 argumentsPropertyInputForm.PropertyInputFormBuilder<C> hidePropertyCaption(com.holonplatform.core.property.Property<?> property)
property - Property for which to hide the input caption (not null)PropertyInputForm.PropertyInputFormBuilder<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.