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.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. |
dataSource, 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, bodyRowHeight, buffered, build, build, columnHidingAllowed, columnReorderingAllowed, commitHandler, defaultValue, 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 useCopyright © 2018 The Holon Platform. All rights reserved.