public class VTreeTablePatched extends VMagnoliaTable
Modifier and Type | Class and Description |
---|---|
static class |
VTreeTablePatched.PendingNavigationEvent
For internal use only.
|
class |
VTreeTablePatched.VTreeTableScrollBody |
VMagnoliaTable.MagnoliaHeaderCell, VMagnoliaTable.MagnoliaTableBody, VMagnoliaTable.MagnoliaTableHead
VScrollTablePatched.ContextMenuDetails, VScrollTablePatched.FocusableScrollContextPanel, VScrollTablePatched.FooterCell, VScrollTablePatched.HeaderCell, VScrollTablePatched.RowHeadersFooterCell, VScrollTablePatched.RowHeadersHeaderCell, VScrollTablePatched.RowRequestHandler, VScrollTablePatched.SelectMode, VScrollTablePatched.TableFooter, VScrollTablePatched.TableHead, VScrollTablePatched.VScrollTableBody, VScrollTablePatched.VScrollTableDropHandler
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
boolean |
animationsEnabled
For internal use only.
|
int |
colIndexOfHierarchy
For internal use only.
|
String |
collapsedRowKey
For internal use only.
|
boolean |
collapseRequest
For internal use only.
|
boolean |
focusParentResponsePending
For internal use only.
|
LinkedList<VTreeTablePatched.PendingNavigationEvent> |
pendingNavigationEvents
For internal use only.
|
VTreeTablePatched.VTreeTableScrollBody |
scrollBody
For internal use only.
|
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, bodyActionKeys, client, collapsibleMenuContent, contextMenu, dropHandler, enabled, focusedRow, focusFirstItemInNextRender, focusLastItemInNextRender, headerChangedDuringUpdate, immediate, initializedAndAttached, lastRenderedHeight, multiselectmode, multiselectPending, paintableId, postponeSanityCheckForLastRendered, recalcWidths, rendering, rowRequestHandler, scrollBodyPanel, selectedRowKeys, selectFirstItemInNextRender, selectionChanged, selectionRangeStart, selectLastItemInNextRender, serverCacheFirst, serverCacheLast, showColFooters, showColHeaders, showRowHeaders, sizeNeedsInit, STYLENAME, tabIndex, tFoot, tHead, totalRows
Constructor and Description |
---|
VTreeTablePatched() |
Modifier and Type | Method and Description |
---|---|
void |
addAndRemoveRows(com.vaadin.client.UIDL partialRowAdditions)
Inserts rows in the table body or removes them from the table body based
on the commands in the UIDL.
|
protected String |
buildCaptionHtmlSnippet(com.vaadin.client.UIDL uidl)
Icons rendered into first actual column in TreeTable, not to row header
cell
|
protected VScrollTablePatched.VScrollTableBody |
createScrollBody() |
protected int |
getHierarchyColumnIndex()
This method exists for the needs of
VTreeTable only. |
boolean |
handleNavigation(int keycode,
boolean ctrl,
boolean shift)
For internal use only.
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
protected void |
reOrderColumn(String columnKey,
int newIndex) |
protected void |
sendSelectedRows(boolean immediately)
Sends the selection to the server if it has been changed since the last
update/visit.
|
void |
sendToggleCollapsedUpdate(String rowKey) |
void |
setStyleName(String style) |
void |
updateFirstVisibleAndScrollIfNeeded(com.vaadin.client.UIDL uidl)
For internal use only.
|
void |
updateTotalRows(com.vaadin.client.UIDL uidl)
For internal use only.
|
createHeaderCell, createTableHead, setMultiSelectMode
calcFirstRowInViewPort, cancelScrollingVelocityTimer, deselectAll, discardRowsOutsideCacheWindow, focus, focusRowFromBody, getActionCaption, getActionIcon, getActions, getChildMeasurementHint, getClient, getDropHandler, getFocusedRow, getNavigationDownKey, getNavigationEndKey, getNavigationLeftKey, getNavigationPageDownKey, getNavigationPageUpKey, getNavigationRightKey, getNavigationSelectKey, getNavigationStartKey, getNavigationUpKey, getPaintableId, getRenderedRowByKey, getSubPartElement, getSubPartName, getTotalRows, getWidgetForPaintable, hideScrollPositionAnnotation, init, initializeRows, isFocusable, isMultiSelectModeAny, isMultiSelectModeDefault, isMultiSelectModeSimple, isScrollPositionVisible, isSelectable, isSingleSelectMode, isVisibleInHierarchy, isWorkPending, lazyRevertFocusToRow, measureRowHeightOffset, onAttach, onBlur, onDetach, onFocus, onScroll, onUnregister, removeRowFromUnsentSelectionRanges, resizeSortedColumnForSortIndicator, selectFirstRenderedRowInViewPort, selectLastRenderedRowInViewPort, selectSelectedRows, sendSelectedRows, setCacheRateFromUIDL, setChildMeasurementHint, setColWidth, setHeight, setProperTabIndex, setRowFocus, setStylePrimaryName, setTotalRows, setVisible, sizeInit, startScrollingVelocityTimer, triggerLazyColumnAdjustment, updateActionMap, updateBody, updateColumnProperties, updateDragMode, updateHeight, updateMaxIndent, updatePageLength, updatePageLength, updateRowsInBody, updateSelectionProperties, updateSortingProperties, updateWidth, willHaveScrollbars
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, clear, iterator, remove
forEach, spliterator
public boolean collapseRequest
public int colIndexOfHierarchy
public String collapsedRowKey
public VTreeTablePatched.VTreeTableScrollBody scrollBody
public boolean animationsEnabled
public LinkedList<VTreeTablePatched.PendingNavigationEvent> pendingNavigationEvents
public boolean focusParentResponsePending
protected VScrollTablePatched.VScrollTableBody createScrollBody()
createScrollBody
in class VMagnoliaTable
public void addAndRemoveRows(com.vaadin.client.UIDL partialRowAdditions)
VScrollTablePatched
For internal use only. May be removed or replaced in the future.
addAndRemoveRows
in class VScrollTablePatched
partialRowAdditions
- the UIDL containing row updates.protected int getHierarchyColumnIndex()
VScrollTablePatched
VTreeTable
only. Not part of
the official API, extend at your own risk. May be removed or
replaced in the future.getHierarchyColumnIndex
in class VScrollTablePatched
protected String buildCaptionHtmlSnippet(com.vaadin.client.UIDL uidl)
buildCaptionHtmlSnippet
in class VScrollTablePatched
uidl
- possibly with values caption and iconpublic boolean handleNavigation(int keycode, boolean ctrl, boolean shift)
handleNavigation
in class VScrollTablePatched
public void sendToggleCollapsedUpdate(String rowKey)
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
protected void sendSelectedRows(boolean immediately)
VScrollTablePatched
sendSelectedRows
in class VScrollTablePatched
immediately
- set to true to immediately send the rowsprotected void reOrderColumn(String columnKey, int newIndex)
reOrderColumn
in class VScrollTablePatched
public void setStyleName(String style)
setStyleName
in class VScrollTablePatched
public void updateTotalRows(com.vaadin.client.UIDL uidl)
VScrollTablePatched
updateTotalRows
in class VScrollTablePatched
public void updateFirstVisibleAndScrollIfNeeded(com.vaadin.client.UIDL uidl)
VScrollTablePatched
updateFirstVisibleAndScrollIfNeeded
in class VScrollTablePatched
Copyright © 2017 Magnolia International Ltd.. All rights reserved.