Class JmixGroupTableWidget
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
com.vaadin.v7.client.ui.VScrollTable
io.jmix.ui.widget.client.table.JmixScrollTableWidget
io.jmix.ui.widget.client.grouptable.JmixGroupTableWidget
- All Implemented Interfaces:
com.google.gwt.event.dom.client.BlurHandler
,com.google.gwt.event.dom.client.FocusHandler
,com.google.gwt.event.dom.client.ScrollHandler
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.EventHandler
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasEnabled
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.InsertPanel
,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,com.vaadin.client.DeferredWorker
,com.vaadin.client.Focusable
,com.vaadin.client.ui.ActionOwner
,com.vaadin.client.ui.dd.VHasDropHandler
,com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner
,com.vaadin.client.ui.SubPartAware
,TableWidget
,Iterable<com.google.gwt.user.client.ui.Widget>
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected class
protected class
protected class
protected class
Nested classes/interfaces inherited from class io.jmix.ui.widget.client.table.JmixScrollTableWidget
JmixScrollTableWidget.JmixScrollTableBody, JmixScrollTableWidget.JmixScrollTableHead, JmixScrollTableWidget.JmixScrollTableHeaderCell
Nested classes/interfaces inherited from class com.vaadin.v7.client.ui.VScrollTable
com.vaadin.v7.client.ui.VScrollTable.ContextMenuDetails, com.vaadin.v7.client.ui.VScrollTable.FocusableScrollContextPanel, com.vaadin.v7.client.ui.VScrollTable.FooterCell, com.vaadin.v7.client.ui.VScrollTable.HeaderCell, com.vaadin.v7.client.ui.VScrollTable.RowHeadersFooterCell, com.vaadin.v7.client.ui.VScrollTable.RowHeadersHeaderCell, com.vaadin.v7.client.ui.VScrollTable.RowRequestHandler, com.vaadin.v7.client.ui.VScrollTable.SelectMode, com.vaadin.v7.client.ui.VScrollTable.TableFooter, com.vaadin.v7.client.ui.VScrollTable.TableHead, com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody, com.vaadin.v7.client.ui.VScrollTable.VScrollTableDropHandler
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
Nested classes/interfaces inherited from interface io.jmix.ui.widget.client.tableshared.TableWidget
TableWidget.AfterBodyUpdateListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final int
protected boolean
Fields inherited from class io.jmix.ui.widget.client.table.JmixScrollTableWidget
_delegate
Fields inherited from class com.vaadin.v7.client.ui.VScrollTable
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, bodyActionKeys, cacheRate, client, collapsedColumns, collapsibleMenuContent, columnOrder, contextMenu, dropHandler, enabled, firstvisible, focusedRow, focusFirstItemInNextRender, focusLastItemInNextRender, headerChangedDuringUpdate, hideColumnControlAfterClick, immediate, initializedAndAttached, lastRenderedHeight, multiselectPending, nullSelectionAllowed, pageLength, paintableId, postponeSanityCheckForLastRendered, recalcWidths, rendering, rowRequestHandler, scrollBody, scrollBodyPanel, scrollLeft, selectedRowKeys, selectFirstItemInNextRender, selectionChanged, selectionRangeStart, selectLastItemInNextRender, serverCacheFirst, serverCacheLast, showColFooters, showColHeaders, showRowHeaders, sizeNeedsInit, sortAscending, sortColumn, STYLENAME, tabIndex, tFoot, tHead, totalRows, visibleColOrder, visibleColumnActionIndex
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkColumnForUpdateWidth
(com.vaadin.v7.client.ui.VScrollTable.HeaderCell cell) protected TableAggregationRow
protected com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody
protected com.vaadin.v7.client.ui.VScrollTable.TableFooter
protected com.vaadin.v7.client.ui.VScrollTable.TableHead
protected int
getVisibleColsCount
(String[] strings) protected boolean
handleNavigation
(int keycode, boolean ctrl, boolean shift) protected boolean
protected boolean
isAggregationEditable
(com.vaadin.client.UIDL uidl, int colIndex) protected boolean
boolean
isCustomColumn
(int colIndex) boolean
isGenericRow
(com.google.gwt.user.client.ui.Widget rowWidget) protected boolean
isGroupColumn
(String cid) protected void
reOrderColumn
(String columnKey, int newIndex) void
setColWidth
(int colIndex, int w, boolean isDefinedWidth) void
updateBody
(com.vaadin.client.UIDL uidl, int firstRow, int reqRows) protected void
updateFooterColumns
(String[] strings, int colIndex) void
updateGroupColumns
(Set<String> groupColumns) void
updateGroupRowsWithAggregation
(com.vaadin.client.UIDL uidl) protected void
updateHeaderColumns
(String[] strings, int colIndex) void
Methods inherited from class io.jmix.ui.widget.client.table.JmixScrollTableWidget
addAfterBodyUpdateListener, forceReassignColumnWidths, getAdditionalRowsHeight, getColKeyByIndex, getColWidth, getDynamicBodyHeight, getHead, getNextRowToFocus, getOwner, getRenderedRows, getRowRequestHandler, getShortcutActionHandler, getSortAscendingLabel, getSortDescendingLabel, getSortResetLabel, getVisibleColOrder, handleBodyContextMenu, handleUpdateBodyRows, hasVerticalScrollbar, initializeRows, isAllowSingleSelectToggle, isEnabled, isShowBrowserContextMenu, isTextSelectionEnabled, isUseSimpleModeForTouchDevice, needToSelectFocused, onBlur, onBrowserEvent, onDetach, onFocus, onScroll, reassignAggregationColumnWidths, reassignHeaderCellWidth, removeAfterBodyUpdateListener, requestFocus, scheduleLayoutForChildWidgets, setAggregationRowVisible, setEnabled, setPresentationsMenu, setShortcutActionHandler, showCustomPopup, showEmptyState, sizeInit, toggleScrollBarSpacer, updateAggregationRow, updateColumnProperties, updateRowsInBody
Methods inherited from class com.vaadin.v7.client.ui.VScrollTable
addAndRemoveRows, buildCaptionHtmlSnippet, calcFirstRowInViewPort, cancelScrollingVelocityTimer, deselectAll, discardRowsOutsideCacheWindow, enableLazyScroller, focus, focusRowFromBody, getActionCaption, getActionIcon, getActions, getChildMeasurementHint, getClient, getColIndexByKey, getDropHandler, getFocusedRow, getHierarchyColumnIndex, getNavigationDownKey, getNavigationEndKey, getNavigationLeftKey, getNavigationPageDownKey, getNavigationPageUpKey, getNavigationRightKey, getNavigationSelectKey, getNavigationStartKey, getNavigationUpKey, getPaintableId, getRenderedRowByKey, getSubPartElement, getSubPartName, getTotalRows, getWidgetForPaintable, hideScrollPositionAnnotation, init, isCollapsedColumn, isFocusable, isLazyScrollerActive, isMultiSelectModeDefault, isMultiSelectModeSimple, isScrollPositionVisible, isSelectable, isSingleSelectMode, isWorkPending, lazyRevertFocusToRow, measureRowHeightOffset, onAttach, onUnregister, resizeSortedColumnForSortIndicator, selectFirstRenderedRowInViewPort, selectLastRenderedRowInViewPort, selectSelectedRows, sendColumnWidthUpdates, sendSelectedRows, sendSelectedRows, setCacheRateFromUIDL, setChildMeasurementHint, setHeight, setProperTabIndex, setRowFocus, setStyleName, setStylePrimaryName, setTotalRows, setVisible, startScrollingVelocityTimer, triggerLazyColumnAdjustment, updateActionMap, updateDragMode, updateFirstVisibleAndScrollIfNeeded, updateHeight, updateMaxIndent, updatePageLength, updatePageLength, updateSelectionProperties, updateSortingProperties, updateTotalRows, updateWidth, willHaveScrollbars
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insert
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setWidth, sinkBitlessEvent, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets
add, clear, iterator, remove
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface io.jmix.ui.widget.client.tableshared.TableWidget
getClient, getPaintableId, getRenderedRowByKey, getStylePrimaryName
-
Field Details
-
CLASSNAME
- See Also:
-
GROUP_DIVIDER_COLUMN_KEY
- See Also:
-
GROUP_DIVIDER_WIDTH
public static final int GROUP_DIVIDER_WIDTH- See Also:
-
groupColumns
-
isAggregationEditable
protected boolean isAggregationEditable
-
-
Constructor Details
-
JmixGroupTableWidget
public JmixGroupTableWidget()
-
-
Method Details
-
updateGroupColumns
-
setColWidth
public void setColWidth(int colIndex, int w, boolean isDefinedWidth) - Specified by:
setColWidth
in interfaceTableWidget
- Overrides:
setColWidth
in classJmixScrollTableWidget
-
isGroupColumn
-
getVisibleColsCount
- Overrides:
getVisibleColsCount
in classcom.vaadin.v7.client.ui.VScrollTable
-
updateHeaderColumns
- Overrides:
updateHeaderColumns
in classcom.vaadin.v7.client.ui.VScrollTable
-
isAggregationEditable
protected boolean isAggregationEditable()- Overrides:
isAggregationEditable
in classJmixScrollTableWidget
-
updateBody
public void updateBody(com.vaadin.client.UIDL uidl, int firstRow, int reqRows) - Overrides:
updateBody
in classJmixScrollTableWidget
-
reOrderColumn
- Overrides:
reOrderColumn
in classJmixScrollTableWidget
-
checkColumnForUpdateWidth
protected boolean checkColumnForUpdateWidth(com.vaadin.v7.client.ui.VScrollTable.HeaderCell cell) - Overrides:
checkColumnForUpdateWidth
in classcom.vaadin.v7.client.ui.VScrollTable
-
createScrollBody
protected com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody createScrollBody()- Overrides:
createScrollBody
in classJmixScrollTableWidget
-
createTableHead
protected com.vaadin.v7.client.ui.VScrollTable.TableHead createTableHead()- Overrides:
createTableHead
in classJmixScrollTableWidget
-
createAggregationRow
- Overrides:
createAggregationRow
in classJmixScrollTableWidget
-
isGenericRow
public boolean isGenericRow(com.google.gwt.user.client.ui.Widget rowWidget) - Specified by:
isGenericRow
in interfaceTableWidget
- Overrides:
isGenericRow
in classJmixScrollTableWidget
-
isCustomColumn
public boolean isCustomColumn(int colIndex) - Specified by:
isCustomColumn
in interfaceTableWidget
- Overrides:
isCustomColumn
in classJmixScrollTableWidget
-
getRenderedGroupRowByKey
public JmixGroupTableWidget.JmixGroupTableBody.JmixGroupTableGroupRow getRenderedGroupRowByKey(String key) -
isColumnCollapsingEnabled
protected boolean isColumnCollapsingEnabled()- Overrides:
isColumnCollapsingEnabled
in classJmixScrollTableWidget
-
updateTextSelection
public void updateTextSelection()- Overrides:
updateTextSelection
in classJmixScrollTableWidget
-
updateGroupRowsWithAggregation
public void updateGroupRowsWithAggregation(com.vaadin.client.UIDL uidl) -
isAggregationEditable
protected boolean isAggregationEditable(com.vaadin.client.UIDL uidl, int colIndex)
-