T - Item data typepublic static interface ItemListingBuilder.GridItemListingBuilder<T> extends ItemListingBuilder.BaseGridItemListingBuilder<T,String,BeanListing<T>,ItemListingBuilder.GridItemListingBuilder<T>>
ItemListing with a Grid as backing component.ItemListingBuilder.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 |
|---|---|
<E extends com.vaadin.data.HasValue<?> & com.vaadin.ui.Component> |
editor(String property,
E editor)
Set the field to use for given property in edit mode.
|
ItemListingBuilder.GridItemListingBuilder<T> |
render(String property,
com.vaadin.ui.renderers.Renderer<?> renderer)
Set a custom
Renderer for given item property. |
<V,P> ItemListingBuilder.GridItemListingBuilder<T> |
render(String property,
com.vaadin.data.ValueProvider<V,P> presentationProvider,
com.vaadin.ui.renderers.Renderer<? super P> renderer)
Set a custom
Renderer and presentation provider for given item property. |
default ItemListingBuilder.GridItemListingBuilder<T> |
withValidator(String property,
com.holonplatform.core.Validator<?> validator)
Adds a
Validator to the field bound to given property in the item listing editor. |
ItemListingBuilder.GridItemListingBuilder<T> |
withValidator(String property,
com.vaadin.data.Validator<?> validator)
Adds a
Validator to the field bound to given property in the item
listing editor. |
commitOnRemove, 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<E extends com.vaadin.data.HasValue<?> & com.vaadin.ui.Component> ItemListingBuilder.GridItemListingBuilder<T> editor(String property, E editor)
E - Editor field typeproperty - Item property to set the editor for (not null)editor - Editor field (not null)default ItemListingBuilder.GridItemListingBuilder<T> withValidator(String property, com.holonplatform.core.Validator<?> validator)
Validator to the field bound to given property in the item listing editor.property - Property (not null)validator - Validator to add (not null)ItemListingBuilder.GridItemListingBuilder<T> withValidator(String property, com.vaadin.data.Validator<?> validator)
Validator to the field bound to given property in the item
listing editor.property - Property (not null)validator - Validator to add (not null)ItemListingBuilder.GridItemListingBuilder<T> render(String property, com.vaadin.ui.renderers.Renderer<?> renderer)
Renderer for given item property.property - Item property to set the renderer for (not null)renderer - Renderer to use<V,P> ItemListingBuilder.GridItemListingBuilder<T> render(String property, com.vaadin.data.ValueProvider<V,P> presentationProvider, com.vaadin.ui.renderers.Renderer<? super P> renderer)
Renderer and presentation provider for given item property.V - Property value typeP - Presentation value typeproperty - Item property to set the renderer forpresentationProvider - Presentation providerrenderer - Renderer to useCopyright © 2017 The Holon Platform. All rights reserved.