T - Item data typeP - Item property typeC - Component typeB - Concrete builder typepublic static interface ItemListingBuilder.BaseTableItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseTableItemListingBuilder<T,P,C,B>> extends ItemListingBuilder<T,P,C,B,com.vaadin.ui.Table>
ItemListing with a Table as backing component.ItemListingBuilder.BaseGridItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseGridItemListingBuilder<T,P,C,B>>, ItemListingBuilder.BaseTableItemListingBuilder<T,P,C extends ItemListing<T,P>,B extends ItemListingBuilder.BaseTableItemListingBuilder<T,P,C,B>>, ItemListingBuilder.FooterBuilder, ItemListingBuilder.GridFooterGenerator<T,P>, ItemListingBuilder.GridItemListingBuilder<T>, ItemListingBuilder.GridSection<ROWTYPE extends com.vaadin.ui.Grid.StaticSection.StaticRow<?>>, ItemListingBuilder.HeaderBuilder, ItemListingBuilder.TableFooterGenerator<T,P>, ItemListingBuilder.TableItemListingBuilder<T>ComponentConfigurator.BaseComponentConfigurator| Modifier and Type | Method and Description |
|---|---|
B |
cacheRate(double cacheRate)
Set the table rows cache rate.
|
B |
dragMode(com.vaadin.ui.Table.TableDragMode dragMode)
Sets the drag start mode of the Table.
|
B |
dropHandler(com.vaadin.event.dd.DropHandler dropHandler)
Set the handler to manage drops on table.
|
B |
expandRatio(P property,
float expandRatio)
Set the expand ratio of the column which corresponds to given property.
|
B |
footer(ItemListingBuilder.TableFooterGenerator<T,P> footerGenerator)
Set a
ItemListingBuilder.TableFooterGenerator to generate table footer contents every time row set changes. |
B |
icon(P property,
com.vaadin.server.Resource icon)
Set the header icon for the column which corresponds to given property.
|
B |
pageLength(int pageLength)
Sets the page length.
|
B |
rowGenerator(com.vaadin.ui.Table.RowGenerator rowGenerator)
Set the table row generator
|
B |
withActionHandler(com.vaadin.event.Action.Handler actionHandler)
Add an
Action handler to table. |
B |
withFooterClickListener(com.vaadin.ui.Table.FooterClickListener listener)
Adds a
Table.FooterClickListener that gets notified when footer is clicked. |
B |
withHeaderClickListener(com.vaadin.ui.Table.HeaderClickListener listener)
Adds a
Table.HeaderClickListener that gets notified when a column header is clicked. |
alignment, buffered, build, build, columnHidingAllowed, columnReorderingAllowed, commitHandler, defaultValue, editable, editable, editor, footerVisible, header, header, header, hidable, hidden, hideHeaders, itemDescriptionGenerator, readOnly, selectionMode, sortable, sortGenerator, sortUsing, style, style, width, withItemClickListener, withPropertyReorderListener, withPropertyResizeListener, withPropertyVisibilityListener, withRowStyle, withSelectionListenerdataSource, dataSource, itemAdapterautoRefresh, 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, immediate, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListenerwithPostProcessorB expandRatio(P property, float expandRatio)
property - Item property to set the expand ratio for (not null)expandRatio - Column expand ratioB icon(P property, com.vaadin.server.Resource icon)
property - Item property to set the icon for (not null)icon - Icon to setB cacheRate(double cacheRate)
Table component may fetch and render some rows outside visible area. With complex tables (for example containing layouts and components), the client side may become unresponsive. Setting the value lower, UI will become more responsive. With higher values scrolling in client will hit server less frequently.
The amount of cached rows will be cacheRate multiplied with table pageLength(int) both below and
above visible area.
Default cache rate is 1.
cacheRate - a value over 0 (fastest rendering time). Higher value will cache more rows on server
(smoother scrolling). Default value is 2.B pageLength(int pageLength)
Setting page length 0 disables paging.
If Table has an height set the client side may update the page length automatically the correct value.
pageLength - the length of one pageB footer(ItemListingBuilder.TableFooterGenerator<T,P> footerGenerator)
ItemListingBuilder.TableFooterGenerator to generate table footer contents every time row set changes.footerGenerator - Footer contents generator (not null)B withHeaderClickListener(com.vaadin.ui.Table.HeaderClickListener listener)
Table.HeaderClickListener that gets notified when a column header is clicked.listener - Listener to add (not null)B withFooterClickListener(com.vaadin.ui.Table.FooterClickListener listener)
Table.FooterClickListener that gets notified when footer is clicked.listener - Listener to add (not null)B dragMode(com.vaadin.ui.Table.TableDragMode dragMode)
dragMode - Drag mode to setB dropHandler(com.vaadin.event.dd.DropHandler dropHandler)
dropHandler - Drop handlerB withActionHandler(com.vaadin.event.Action.Handler actionHandler)
Action handler to table.actionHandler - Handler to addB rowGenerator(com.vaadin.ui.Table.RowGenerator rowGenerator)
rowGenerator - Row generator to setCopyright © 2019 The Holon Platform. All rights reserved.