public class VTreeTable extends VScrollTable
| Modifier and Type | Class and Description |
|---|---|
static class |
VTreeTable.PendingNavigationEvent
For internal use only.
|
class |
VTreeTable.VTreeTableScrollBody |
VScrollTable.ContextMenuDetails, VScrollTable.FocusableScrollContextPanel, VScrollTable.FooterCell, VScrollTable.HeaderCell, VScrollTable.RowHeadersFooterCell, VScrollTable.RowHeadersHeaderCell, VScrollTable.RowRequestHandler, VScrollTable.SelectMode, VScrollTable.TableFooter, VScrollTable.TableHead, VScrollTable.VScrollTableBody, VScrollTable.VScrollTableDropHandlercom.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<VTreeTable.PendingNavigationEvent> |
pendingNavigationEvents
For internal use only.
|
VTreeTable.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, 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 |
|---|
VTreeTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAndRemoveRows(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(UIDL uidl)
Icons rendered into first actual column in TreeTable, not to row header
cell
|
protected VScrollTable.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 |
setStyleName(String style) |
void |
updateTotalRows(UIDL uidl)
For internal use only.
|
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, isScrollPositionVisible, isSelectable, isWorkPending, lazyRevertFocusToRow, measureRowHeightOffset, onAttach, onBlur, onDetach, onFocus, onScroll, onUnregister, resizeSortedColumnForSortIndicator, selectFirstRenderedRowInViewPort, selectLastRenderedRowInViewPort, selectSelectedRows, sendSelectedRows, setCacheRateFromUIDL, setChildMeasurementHint, setColWidth, setHeight, setProperTabIndex, setRowFocus, setStylePrimaryName, setTotalRows, setVisible, sizeInit, startScrollingVelocityTimer, triggerLazyColumnAdjustment, updateActionMap, updateBody, updateColumnProperties, updateDragMode, updateFirstVisibleAndScrollIfNeeded, updateHeight, updateMaxIndent, updatePageLength, updatePageLength, updateRowsInBody, updateSelectionProperties, updateSortingProperties, updateWidth, willHaveScrollbarsadd, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, adopt, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, clear, iterator, removeforEach, spliteratorpublic boolean collapseRequest
public int colIndexOfHierarchy
public String collapsedRowKey
public VTreeTable.VTreeTableScrollBody scrollBody
public boolean animationsEnabled
public LinkedList<VTreeTable.PendingNavigationEvent> pendingNavigationEvents
public boolean focusParentResponsePending
protected VScrollTable.VScrollTableBody createScrollBody()
createScrollBody in class VScrollTablepublic void addAndRemoveRows(UIDL partialRowAdditions)
VScrollTableFor internal use only. May be removed or replaced in the future.
addAndRemoveRows in class VScrollTablepartialRowAdditions - the UIDL containing row updates.protected int getHierarchyColumnIndex()
VScrollTableVTreeTable only. Not part of
the official API, extend at your own risk. May be removed or
replaced in the future.getHierarchyColumnIndex in class VScrollTableprotected String buildCaptionHtmlSnippet(UIDL uidl)
buildCaptionHtmlSnippet in class VScrollTableuidl - possibly with values caption and iconpublic boolean handleNavigation(int keycode,
boolean ctrl,
boolean shift)
handleNavigation in class VScrollTablepublic void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetprotected void sendSelectedRows(boolean immediately)
VScrollTablesendSelectedRows in class VScrollTableimmediately - set to true to immediately send the rowsprotected void reOrderColumn(String columnKey, int newIndex)
reOrderColumn in class VScrollTablepublic void setStyleName(String style)
setStyleName in class VScrollTablepublic void updateTotalRows(UIDL uidl)
VScrollTableupdateTotalRows in class VScrollTableCopyright © 2016 Vaadin Ltd. All rights reserved.