public static interface PropertyListingBuilder.GridPropertyListingBuilder extends PropertyListingBuilder<PropertyListingBuilder.GridPropertyListingBuilder,com.vaadin.ui.Grid<com.holonplatform.core.property.PropertyBox>>, ItemListingBuilder.BaseGridItemListingBuilder<com.holonplatform.core.property.PropertyBox,com.holonplatform.core.property.Property,PropertyListing,PropertyListingBuilder.GridPropertyListingBuilder>
PropertyListing components using a Grid as backing component.PropertyListingBuilder.GridPropertyListingBuilderItemListingBuilder.BaseGridItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseGridItemListingBuilder<T,P,C,B>>, ItemListingBuilder.FooterBuilder<P>, ItemListingBuilder.GridFooterGenerator<T,P>, ItemListingBuilder.GridItemListingBuilder<T>, 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> PropertyListingBuilder.GridPropertyListingBuilder |
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> PropertyListingBuilder.GridPropertyListingBuilder |
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> PropertyListingBuilder.GridPropertyListingBuilder |
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> PropertyListingBuilder.GridPropertyListingBuilder |
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. |
dataSource, dataSourcecommitOnRemove, commitOnSave, detailsGenerator, editorBuffered, editorCancelCaption, editorCancelCaption, editorCancelCaption, editorSaveCaption, editorSaveCaption, editorSaveCaption, expandRatio, footer, footerGenerator, frozenColumns, header, heightByContents, heightByRows, hidingToggleCaption, hidingToggleCaption, hidingToggleCaption, maxWidth, minimumWidthFromContent, minWidth, required, required, required, required, resizable, withEditorCancelListener, withEditorOpenListener, withEditorSaveListener, withValidator, withValidatoralignment, buffered, build, build, columnHidingAllowed, columnReorderingAllowed, commitHandler, defaultValue, editable, editable, footerVisible, header, header, header, hidable, hidden, hideHeaders, itemDescriptionGenerator, readOnly, rowHeight, selectAllCheckBoxVisibility, selectionMode, sortable, sortGenerator, sortUsing, style, style, width, withItemClickListener, withPropertyReorderListener, withPropertyResizeListener, withPropertyVisibilityListener, withRowStyle, withSelectionListenerdataSource, dataSourceautoRefresh, batchSize, defaultSort, fixedFilter, fixedSort, maxCacheSize, queryParameter, withQueryConfigurationProviderbuild, deferLocalizationcaption, 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> PropertyListingBuilder.GridPropertyListingBuilder 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> PropertyListingBuilder.GridPropertyListingBuilder 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> PropertyListingBuilder.GridPropertyListingBuilder 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> PropertyListingBuilder.GridPropertyListingBuilder 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> PropertyListingBuilder.GridPropertyListingBuilder 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 useCopyright © 2017 The Holon Platform. All rights reserved.