C - Actual listing typeB - Concrete builder typepublic static interface PropertyListingBuilder.BaseGridPropertyListingBuilder<C extends ItemListing<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property>,B extends PropertyListingBuilder.BaseGridPropertyListingBuilder<C,B>> extends PropertyListingBuilder<C,B,com.vaadin.ui.Grid<com.holonplatform.core.property.PropertyBox>>, ItemListingBuilder.BaseGridItemListingBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B>
ItemListing component with Property as property type, PropertyBox as
item type and using a Grid as backing component.PropertyListingBuilder.BaseGridPropertyListingBuilder<C extends ItemListing<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property>,B extends PropertyListingBuilder.BaseGridPropertyListingBuilder<C,B>>, PropertyListingBuilder.GridPropertyListingBuilderItemListingBuilder.BaseGridItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseGridItemListingBuilder<T,P,C,B>>, ItemListingBuilder.ColumnHeaderMode, ItemListingBuilder.FooterBuilder<P>, ItemListingBuilder.GridFooterGenerator<T,P>, ItemListingBuilder.GridItemListingBuilder<T,C extends ItemListing<T,String>,B extends ItemListingBuilder.GridItemListingBuilder<T,C,B>>, ItemListingBuilder.GridSection<ROWTYPE>, ItemListingBuilder.HeaderBuilder<P>, ItemListingBuilder.ListingFooterRow<P>, ItemListingBuilder.ListingHeaderRow<P>ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
<T,E extends com.vaadin.data.HasValue<T> & com.vaadin.ui.Component> |
editor(com.holonplatform.core.property.Property<T> property,
E editor)
Set the field to use for given property in edit mode.
|
<T> B |
render(com.holonplatform.core.property.Property<T> property,
com.vaadin.ui.renderers.Renderer<? super T> renderer)
Set a custom
Renderer for given item property. |
<T,P> B |
render(com.holonplatform.core.property.Property<T> property,
com.vaadin.data.ValueProvider<T,P> presentationProvider,
com.vaadin.ui.renderers.Renderer<? super P> renderer)
Set a custom
Renderer and presentation provider for given item property. |
default <T> B |
withValidator(com.holonplatform.core.property.Property<T> property,
com.holonplatform.core.Validator<T> validator)
Adds a
Validator to the field bound to given property in the item listing editor. |
<T> B |
withValidator(com.holonplatform.core.property.Property<T> property,
com.vaadin.data.Validator<T> validator)
Adds a
Validator to the field bound to given property in the item
listing editor. |
<T> VirtualPropertyColumnBuilder<T,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> |
withVirtualProperty(Class<T> type,
com.holonplatform.core.property.PropertyValueProvider<T> valueProvider)
Add a virtual property to the listing, providing the virtual property type and the
PropertyValueProvider to provide the virtual property value for each PropertyBox listing
item. |
<T> VirtualPropertyColumnBuilder<T,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> |
withVirtualProperty(Class<T> type,
String name,
com.holonplatform.core.property.PropertyValueProvider<T> valueProvider)
Add a virtual property to the listing, providing the virtual property type, the virtual property name and the
PropertyValueProvider to provide the virtual property value for each PropertyBox listing
item. |
default VirtualPropertyColumnBuilder<String,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> |
withVirtualProperty(com.holonplatform.core.property.PropertyValueProvider<String> valueProvider)
Add a
String type virtual property to the listing, providing the PropertyValueProvider to
provide the virtual property value for each PropertyBox listing item. |
default VirtualPropertyColumnBuilder<String,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> |
withVirtualProperty(String name,
com.holonplatform.core.property.PropertyValueProvider<String> valueProvider)
Add a
String type virtual property to the listing, providing the virtual property name and the
PropertyValueProvider to provide the virtual property value for each PropertyBox listing
item. |
<T> VirtualPropertyColumnBuilder<T,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> |
withVirtualProperty(com.holonplatform.core.property.VirtualProperty<T> property)
Add a virtual property to the listing.
|
dataSource, dataSource, dataSourcecommitOnRemove, commitOnSave, detailsGenerator, editorBuffered, editorCancelCaption, editorCancelCaption, editorCancelCaption, editorErrorGenerator, editorSaveCaption, editorSaveCaption, editorSaveCaption, expandRatio, footer, footerGenerator, frozenColumns, header, headerHTML, headerHTML, headerHTML, headerMode, heightByContents, heightByRows, hidingToggleCaption, hidingToggleCaption, hidingToggleCaption, maxWidth, minimumWidthFromContent, minWidth, required, required, required, required, resizable, withEditorCancelListener, withEditorOpenListener, withEditorSaveListener, withValidator, withValidatoralignment, bodyRowHeight, buffered, build, build, columnHidingAllowed, columnReorderingAllowed, commitHandler, defaultValue, displayAfter, displayAsFirst, displayAsLast, displayBefore, editable, editable, footerRowHeight, footerVisible, header, header, header, headerRowHeight, hidable, hidden, hideHeaders, itemDescriptionGenerator, readOnly, rowHeight, selectAllCheckBoxVisibility, selectionMode, sortable, sortable, sortGenerator, sortUsing, style, style, width, withItemClickListener, withPropertyReorderListener, withPropertyResizeListener, withPropertyVisibilityListener, withRowStyle, withSelectionListenerdataSource, dataSourceautoRefresh, batchSize, defaultSort, fixedFilter, fixedSort, maxCacheSize, queryParameter, withQueryConfigurationProviderbuild, 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, withShortcutListenerwithPostProcessor<T,E extends com.vaadin.data.HasValue<T> & com.vaadin.ui.Component> B editor(com.holonplatform.core.property.Property<T> property, E editor)
T - Property typeE - Editor field typeproperty - Item property to set the editor for (not null)editor - Editor field (not null)default <T> B withValidator(com.holonplatform.core.property.Property<T> property, com.holonplatform.core.Validator<T> validator)
Validator to the field bound to given property in the item listing editor.T - Property typeproperty - Property (not null)validator - Validator to add (not null)<T> B withValidator(com.holonplatform.core.property.Property<T> property, com.vaadin.data.Validator<T> validator)
Validator to the field bound to given property in the item
listing editor.T - Property typeproperty - Property (not null)validator - Validator to add (not null)<T> B render(com.holonplatform.core.property.Property<T> property, com.vaadin.ui.renderers.Renderer<? super T> renderer)
Renderer for given item property.T - Property typeproperty - Item property to set the renderer for (not null)renderer - Renderer to use<T,P> B render(com.holonplatform.core.property.Property<T> property, com.vaadin.data.ValueProvider<T,P> presentationProvider, com.vaadin.ui.renderers.Renderer<? super P> renderer)
Renderer and presentation provider for given item property.T - Property typeP - Presentation value typeproperty - Item property to set the renderer forpresentationProvider - Presentation providerrenderer - Renderer to use<T> VirtualPropertyColumnBuilder<T,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> withVirtualProperty(com.holonplatform.core.property.VirtualProperty<T> property)
VirtualPropertyColumnBuilder allows to configure
the column bound to the property and to add/append the column to listing columns.
The VirtualPropertyColumnBuilder.add() method can be used to add the the virtual property as a
listing column and return back to the parent listing builder.
T - Property typeproperty - The VirtualProperty to use to provide the property value (not null)VirtualPropertyColumnBuilder for this virtual property<T> VirtualPropertyColumnBuilder<T,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> withVirtualProperty(Class<T> type, com.holonplatform.core.property.PropertyValueProvider<T> valueProvider)
PropertyValueProvider to provide the virtual property value for each PropertyBox listing
item. The returned VirtualPropertyColumnBuilder allows to configure the column bound to the property
and to add/append the column to listing columns.
The VirtualPropertyColumnBuilder.add() method can be used to add the the virtual property as a
listing column and return back to the parent listing builder.
T - Property typetype - Virtual property type (not null)valueProvider - Property value provider (not null)VirtualPropertyColumnBuilder for this virtual property<T> VirtualPropertyColumnBuilder<T,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> withVirtualProperty(Class<T> type, String name, com.holonplatform.core.property.PropertyValueProvider<T> valueProvider)
PropertyValueProvider to provide the virtual property value for each PropertyBox listing
item. The returned VirtualPropertyColumnBuilder allows to configure the column bound to the property
and to add/append the column to listing columns.
The VirtualPropertyColumnBuilder.add() method can be used to add the the virtual property as a
listing column and return back to the parent listing builder.
T - Property typetype - Virtual property type (not null)name - Virtual property name, which will be used as column id (not null)valueProvider - Property value provider (not null)VirtualPropertyColumnBuilder for this virtual propertydefault VirtualPropertyColumnBuilder<String,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> withVirtualProperty(com.holonplatform.core.property.PropertyValueProvider<String> valueProvider)
String type virtual property to the listing, providing the PropertyValueProvider to
provide the virtual property value for each PropertyBox listing item. The returned
VirtualPropertyColumnBuilder allows to configure the column bound to the property and to add/append
the column to listing columns.
The VirtualPropertyColumnBuilder.add() method can be used to add the the virtual property as a
listing column and return back to the parent listing builder.
valueProvider - Property value provider (not null)VirtualPropertyColumnBuilder for this virtual propertywithVirtualProperty(Class, PropertyValueProvider)default VirtualPropertyColumnBuilder<String,com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,C,B> withVirtualProperty(String name, com.holonplatform.core.property.PropertyValueProvider<String> valueProvider)
String type virtual property to the listing, providing the virtual property name and the
PropertyValueProvider to provide the virtual property value for each PropertyBox listing
item. The returned VirtualPropertyColumnBuilder allows to configure the column bound to the property
and to add/append the column to listing columns.
The VirtualPropertyColumnBuilder.add() method can be used to add the the virtual property as a
listing column and return back to the parent listing builder.
name - Virtual property name, which will be used as column id (not null)valueProvider - Property value provider (not null)VirtualPropertyColumnBuilder for this virtual propertywithVirtualProperty(Class, PropertyValueProvider),
withVirtualProperty(Class, String, PropertyValueProvider)Copyright © 2019 The Holon Platform. All rights reserved.