public class WebGroupTable<E extends Entity> extends WebAbstractTable<com.haulmont.cuba.web.toolkit.ui.CubaGroupTable,E> implements GroupTable<E>
Modifier and Type | Class and Description |
---|---|
class |
WebGroupTable.GroupTableCollectionDsListenersWrapper |
WebAbstractTable.TableCollectionDsListenersWrapper
GroupTable.GroupStyleProvider<E extends Entity>
Table.AggregationStyle, Table.CellClickListener, Table.Column, Table.ColumnAlignment, Table.ColumnCollapseListener, Table.ColumnGenerator<E extends Entity>, Table.PlainTextCell, Table.Printable<E extends Entity,P>, Table.PrintableColumnGenerator<E extends Entity,P>, Table.RowHeaderMode, Table.SortDirection, Table.SortInfo, Table.StyleProvider<E extends Entity>
ListComponent.IconProvider<E extends Entity>
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
LookupComponent.LookupSelectionChangeEvent, LookupComponent.LookupSelectionChangeListener, LookupComponent.LookupSelectionChangeNotifier
ICON_STYLE, UNIT_SYMBOLS
NAME
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Constructor and Description |
---|
WebGroupTable() |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(Table.Column column) |
void |
applyColumnSettings(org.dom4j.Element element) |
void |
collapse(GroupInfo groupId) |
void |
collapseAll() |
void |
expand(GroupInfo groupId) |
void |
expandAll() |
void |
expandPath(Entity item)
Expand all groups for specified item.
|
boolean |
getColumnGroupAllowed(java.lang.String columnId) |
boolean |
getColumnGroupAllowed(Table.Column column) |
GroupDatasource |
getDatasource() |
void |
groupBy(java.lang.Object[] properties) |
boolean |
isExpanded(GroupInfo groupId) |
boolean |
isFixedGrouping() |
boolean |
isShowItemsCountForGroup() |
boolean |
saveSettings(org.dom4j.Element element) |
void |
setColumnGroupAllowed(java.lang.String columnId,
boolean allowed) |
void |
setColumnGroupAllowed(Table.Column column,
boolean allowed) |
void |
setFixedGrouping(boolean fixedGrouping) |
void |
setShowItemsCountForGroup(boolean showItemsCountForGroup)
Show or hide items count for GroupTable groups.
|
addAggregationProperty, addAggregationProperty, addColumnCollapsedListener, addGeneratedColumn, addGeneratedColumn, addLookupValueChangeListener, addPrintable, addStyleProvider, addValidator, addValidator, applyPresentation, applyPresentationAsDefault, applySettings, assignAutoDebugId, getAggregationResults, getAggregationStyle, getButtonsPanel, getCaption, getColumn, getColumnControlVisible, getColumnReorderingAllowed, getColumns, getColumnSortable, getColumnSortable, getComposition, getDefaultPresentationId, getDescription, getEnterPressAction, getItemClickAction, getItemDatasource, getLookupSelectedItems, getNotCollapsedColumns, getPresentations, getPrintable, getPrintable, getRowHeaderWidth, getRowsCount, getSortInfo, getStyleName, getTabIndex, isAggregatable, isColumnHeaderVisible, isContextMenuEnabled, isEditable, isMultiLineCells, isSettingsEnabled, isShowSelection, isShowTotalAggregation, isSortable, isTextSelectionEnabled, isUsePresentations, loadPresentations, refresh, removeAggregationProperty, removeClickListener, removeColumn, removeColumnCollapseListener, removeGeneratedColumn, removeLookupValueChangeListener, removePrintable, removeStyleProvider, repaint, requestFocus, resetPresentation, scrollTo, selectAll, setAggregatable, setAggregationStyle, setButtonsPanel, setCaption, setClickListener, setColumnAlignment, setColumnAlignment, setColumnCaption, setColumnCaption, setColumnCollapsed, setColumnCollapsed, setColumnControlVisible, setColumnDescription, setColumnDescription, setColumnHeaderVisible, setColumnReorderingAllowed, setColumnSortable, setColumnSortable, setColumnWidth, setColumnWidth, setContextMenuEnabled, setDatasource, setDebugId, setDescription, setEditable, setEnterPressAction, setIconProvider, setId, setItemClickAction, setLookupSelectHandler, setMultiLineCells, setMultiSelect, setRequired, setRowHeaderMode, setRowHeaderWidth, setRowsCount, setSettingsEnabled, setShowSelection, setShowTotalAggregation, setSortable, setStyleName, setStyleProvider, setTabIndex, setTextSelectionEnabled, showCustomPopup, showCustomPopupActions, sort, sortBy, usePresentations, validate
getSelected, getSingleSelected, isMultiSelect, setSelected, setSelected
addAction, addAction, getAction, getActions, getActionsPermissions, removeAction, removeAction, removeAllActions
addStyleName, getAlignment, getComponent, getComponentEnabledFlag, getComponentVisibleFlag, getDebugId, getFrame, getHeight, getHeightUnits, getIcon, getId, getParent, getWidth, getWidthUnits, getXmlDescriptor, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setEnabled, setFrame, setHeight, setIcon, setParent, setResponsive, setVisible, setWidth, setXmlDescriptor, unwrap, unwrapComposition
addListener, addListener, fireEvent, hasListeners, removeListener, removeListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAggregationProperty, addAggregationProperty, addColumnCollapsedListener, addGeneratedColumn, addGeneratedColumn, addPrintable, addStyleProvider, addValidator, addValidator, getAggregationResults, getAggregationStyle, getColumn, getColumnControlVisible, getColumnReorderingAllowed, getColumns, getColumnSortable, getColumnSortable, getEnterPressAction, getItemClickAction, getItemDatasource, getNotCollapsedColumns, getPrintable, getPrintable, getRowHeaderWidth, getSortInfo, isAggregatable, isColumnHeaderVisible, isContextMenuEnabled, isMultiLineCells, isShowSelection, isShowTotalAggregation, isSortable, isTextSelectionEnabled, refresh, removeAggregationProperty, removeClickListener, removeColumn, removeColumnCollapseListener, removeGeneratedColumn, removePrintable, removeStyleProvider, repaint, requestFocus, scrollTo, selectAll, setAggregatable, setAggregationStyle, setClickListener, setColumnAlignment, setColumnAlignment, setColumnCaption, setColumnCaption, setColumnCollapsed, setColumnCollapsed, setColumnControlVisible, setColumnDescription, setColumnDescription, setColumnHeaderVisible, setColumnReorderingAllowed, setColumnSortable, setColumnSortable, setColumnWidth, setColumnWidth, setContextMenuEnabled, setDatasource, setEnterPressAction, setIconProvider, setItemClickAction, setMultiLineCells, setMultiSelect, setRequired, setRowHeaderMode, setRowHeaderWidth, setShowSelection, setShowTotalAggregation, setSortable, setStyleProvider, setTextSelectionEnabled, showCustomPopup, showCustomPopupActions, sort, sortBy
getSelected, getSingleSelected, isMultiSelect, setSelected, setSelected
getFrame, setFrame
addAction, addAction, getAction, getActionNN, getActions, removeAction, removeAction, removeAllActions
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
isEditable, isEditableWithParent, setEditable
getButtonsPanel, setButtonsPanel
applyPresentation, applyPresentationAsDefault, getDefaultPresentationId, getPresentations, isUsePresentations, loadPresentations, resetPresentation, usePresentations
applySettings, isSettingsEnabled, setSettingsEnabled
getCaption, getDescription, setCaption, setDescription
getIcon, setIcon
getRowsCount, setRowsCount
getLookupSelectedItems, setLookupSelectHandler
getTabIndex, isFocusable, setFocusable, setTabIndex
public GroupDatasource getDatasource()
getDatasource
in interface GroupTable<E extends Entity>
getDatasource
in interface ListComponent<E extends Entity>
getDatasource
in class WebAbstractList<com.haulmont.cuba.web.toolkit.ui.CubaGroupTable,E extends Entity>
public boolean saveSettings(org.dom4j.Element element)
saveSettings
in interface Component.HasSettings
saveSettings
in class WebAbstractTable<com.haulmont.cuba.web.toolkit.ui.CubaGroupTable,E extends Entity>
public void applyColumnSettings(org.dom4j.Element element)
public void groupBy(java.lang.Object[] properties)
groupBy
in interface GroupTable<E extends Entity>
public boolean getColumnGroupAllowed(java.lang.String columnId)
getColumnGroupAllowed
in interface GroupTable<E extends Entity>
public boolean getColumnGroupAllowed(Table.Column column)
getColumnGroupAllowed
in interface GroupTable<E extends Entity>
public void setColumnGroupAllowed(java.lang.String columnId, boolean allowed)
setColumnGroupAllowed
in interface GroupTable<E extends Entity>
public void setColumnGroupAllowed(Table.Column column, boolean allowed)
setColumnGroupAllowed
in interface GroupTable<E extends Entity>
public void expandAll()
expandAll
in interface GroupTable<E extends Entity>
public void expand(GroupInfo groupId)
expand
in interface GroupTable<E extends Entity>
public void expandPath(Entity item)
GroupTable
expandPath
in interface GroupTable<E extends Entity>
public void collapseAll()
collapseAll
in interface GroupTable<E extends Entity>
public void collapse(GroupInfo groupId)
collapse
in interface GroupTable<E extends Entity>
public boolean isExpanded(GroupInfo groupId)
isExpanded
in interface GroupTable<E extends Entity>
public boolean isFixedGrouping()
isFixedGrouping
in interface GroupTable<E extends Entity>
public void setFixedGrouping(boolean fixedGrouping)
setFixedGrouping
in interface GroupTable<E extends Entity>
public boolean isShowItemsCountForGroup()
isShowItemsCountForGroup
in interface GroupTable<E extends Entity>
public void setShowItemsCountForGroup(boolean showItemsCountForGroup)
GroupTable
setShowItemsCountForGroup
in interface GroupTable<E extends Entity>
public void addColumn(Table.Column column)