public class UIGroupingTable extends UITableBase
UITableBase.ComponentTuple
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
dataDataset
Constructor and Description |
---|
UIGroupingTable(UIComponentData componentData,
LinkedHashMap<String,GroupingDataset.Group> groupSpec) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearContent()
Should remove old data from the data container.
|
static LinkedHashMap<String,GroupingDataset.Group> |
computeGroupSpec(UIComponentData table)
Computes effective grouping specification from the table definition.
|
protected com.vaadin.ui.CustomTable |
createTableComponent()
Creates the table instance.
|
Object |
generateCell(com.vaadin.ui.CustomTable source,
Object itemId,
Object columnId) |
protected AbstractDatasetVaadinAdapter |
getDatasetAdapter() |
com.vaadin.ui.Field<Object> |
getFilterComponentForColumn(int col) |
Set<RecordHolder> |
getShownRecords()
Lists record instances currently displayed in the component's selection.
|
org.tepi.filtertable.FilterTreeTable |
getTable()
Returns the Vaadin Table component.
|
protected void |
refreshInt() |
addDynamicColumn, applyColumnHints, applyHint, attach, clearData, createTableColumn, getColumn, getColumns, getComponentData, getCurrentData, getFilterable, getItemId, getRefreshedComponents, getScope, getStyle, getUnformattedHeaderCaption, getWidget, headerClick, initChildren, isDataDataset, isInferFilteringDisabled, newDataset, onLoad, onLoad, onResetFilters, onTableSort, refresh, registerChildren, showPerformanceWarnings, toString, unapplyHint, unregisterChildren, updateContextFor
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, getState, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesign
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListener
addListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public UIGroupingTable(UIComponentData componentData, LinkedHashMap<String,GroupingDataset.Group> groupSpec)
public static LinkedHashMap<String,GroupingDataset.Group> computeGroupSpec(UIComponentData table)
table
- the table, not null.UIGroupingTable
should not be used.protected com.vaadin.ui.CustomTable createTableComponent()
UITableBase
createTableComponent
in class UITableBase
public org.tepi.filtertable.FilterTreeTable getTable()
UITableBase
getTable
in class UITableBase
protected void clearContent()
UITableBase
clearContent
in class UITableBase
public Set<RecordHolder> getShownRecords()
UIComponentShowingRecords
getShownRecords
in interface UIComponentShowingRecords
getShownRecords
in class UITableBase
protected void refreshInt()
refreshInt
in class UITableBase
public Object generateCell(com.vaadin.ui.CustomTable source, Object itemId, Object columnId)
generateCell
in interface com.vaadin.ui.CustomTable.ColumnGenerator
generateCell
in class UITableBase
public com.vaadin.ui.Field<Object> getFilterComponentForColumn(int col)
getFilterComponentForColumn
in class UITableBase
protected AbstractDatasetVaadinAdapter getDatasetAdapter()
getDatasetAdapter
in class UITableBase
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.