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
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected classprotected classprotected classNested classes/interfaces inherited from class io.jmix.ui.widget.client.table.JmixScrollTableWidget
JmixScrollTableWidget.JmixScrollTableBody, JmixScrollTableWidget.JmixScrollTableHead, JmixScrollTableWidget.JmixScrollTableHeaderCellNested 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.VScrollTableDropHandlerNested 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.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidgetNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidgetNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidgetNested classes/interfaces inherited from interface io.jmix.ui.widget.client.tableshared.TableWidget
TableWidget.AfterBodyUpdateListener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final intprotected booleanFields inherited from class io.jmix.ui.widget.client.table.JmixScrollTableWidget
_delegateFields 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, visibleColumnActionIndexFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckColumnForUpdateWidth(com.vaadin.v7.client.ui.VScrollTable.HeaderCell cell) protected TableAggregationRowprotected com.vaadin.v7.client.ui.VScrollTable.VScrollTableBodyprotected com.vaadin.v7.client.ui.VScrollTable.TableFooterprotected com.vaadin.v7.client.ui.VScrollTable.TableHeadprotected intgetVisibleColsCount(String[] strings) protected booleanhandleNavigation(int keycode, boolean ctrl, boolean shift) protected booleanprotected booleanisAggregationEditable(com.vaadin.client.UIDL uidl, int colIndex) protected booleanbooleanisCustomColumn(int colIndex) booleanisGenericRow(com.google.gwt.user.client.ui.Widget rowWidget) protected booleanisGroupColumn(String cid) protected voidreOrderColumn(String columnKey, int newIndex) voidsetColWidth(int colIndex, int w, boolean isDefinedWidth) voidupdateBody(com.vaadin.client.UIDL uidl, int firstRow, int reqRows) protected voidupdateFooterColumns(String[] strings, int colIndex) voidupdateGroupColumns(Set<String> groupColumns) voidupdateGroupRowsWithAggregation(com.vaadin.client.UIDL uidl) protected voidupdateHeaderColumns(String[] strings, int colIndex) voidMethods 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, updateRowsInBodyMethods 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, willHaveScrollbarsMethods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insertMethods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeMethods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, orphan, removeMethods 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, unsinkEventsMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gwt.user.client.ui.HasWidgets
add, clear, iterator, removeMethods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, removeMethods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndexMethods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
addMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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:
setColWidthin interfaceTableWidget- Overrides:
setColWidthin classJmixScrollTableWidget
-
isGroupColumn
-
getVisibleColsCount
- Overrides:
getVisibleColsCountin classcom.vaadin.v7.client.ui.VScrollTable
-
updateHeaderColumns
- Overrides:
updateHeaderColumnsin classcom.vaadin.v7.client.ui.VScrollTable
-
isAggregationEditable
protected boolean isAggregationEditable()- Overrides:
isAggregationEditablein classJmixScrollTableWidget
-
updateBody
public void updateBody(com.vaadin.client.UIDL uidl, int firstRow, int reqRows) - Overrides:
updateBodyin classJmixScrollTableWidget
-
reOrderColumn
- Overrides:
reOrderColumnin classJmixScrollTableWidget
-
checkColumnForUpdateWidth
protected boolean checkColumnForUpdateWidth(com.vaadin.v7.client.ui.VScrollTable.HeaderCell cell) - Overrides:
checkColumnForUpdateWidthin classcom.vaadin.v7.client.ui.VScrollTable
-
createScrollBody
protected com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody createScrollBody()- Overrides:
createScrollBodyin classJmixScrollTableWidget
-
createTableHead
protected com.vaadin.v7.client.ui.VScrollTable.TableHead createTableHead()- Overrides:
createTableHeadin classJmixScrollTableWidget
-
createAggregationRow
- Overrides:
createAggregationRowin classJmixScrollTableWidget
-
isGenericRow
public boolean isGenericRow(com.google.gwt.user.client.ui.Widget rowWidget) - Specified by:
isGenericRowin interfaceTableWidget- Overrides:
isGenericRowin classJmixScrollTableWidget
-
isCustomColumn
public boolean isCustomColumn(int colIndex) - Specified by:
isCustomColumnin interfaceTableWidget- Overrides:
isCustomColumnin classJmixScrollTableWidget
-
getRenderedGroupRowByKey
public JmixGroupTableWidget.JmixGroupTableBody.JmixGroupTableGroupRow getRenderedGroupRowByKey(String key) -
isColumnCollapsingEnabled
protected boolean isColumnCollapsingEnabled()- Overrides:
isColumnCollapsingEnabledin classJmixScrollTableWidget
-
updateTextSelection
public void updateTextSelection()- Overrides:
updateTextSelectionin classJmixScrollTableWidget
-
updateGroupRowsWithAggregation
public void updateGroupRowsWithAggregation(com.vaadin.client.UIDL uidl) -
isAggregationEditable
protected boolean isAggregationEditable(com.vaadin.client.UIDL uidl, int colIndex)
-