|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.client.ui.VScrollTable com.vaadin.client.ui.VTreeTable
public class VTreeTable
Nested Class Summary | |
---|---|
static class |
VTreeTable.PendingNavigationEvent
For internal use only. |
class |
VTreeTable.VTreeTableScrollBody
|
Nested classes/interfaces inherited from class com.vaadin.client.ui.VScrollTable |
---|
VScrollTable.ContextMenuDetails, VScrollTable.FooterCell, VScrollTable.HeaderCell, VScrollTable.RowHeadersFooterCell, VScrollTable.RowHeadersHeaderCell, VScrollTable.RowRequestHandler, VScrollTable.SelectMode, VScrollTable.TableFooter, VScrollTable.TableHead, VScrollTable.VScrollTableBody, 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.InsertPanel |
---|
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
Field Summary | |
---|---|
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. |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
VTreeTable()
|
Method Summary | |
---|---|
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 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(com.vaadin.client.UIDL uidl)
For internal use only. |
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, 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, adopt, disown, 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.InsertPanel.ForIsWidget |
---|
add |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
---|
getWidgetIndex |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
---|
getWidget, getWidgetCount, getWidgetIndex, remove |
Field Detail |
---|
public boolean collapseRequest
public int colIndexOfHierarchy
public String collapsedRowKey
public VTreeTable.VTreeTableScrollBody scrollBody
public boolean animationsEnabled
public LinkedList<VTreeTable.PendingNavigationEvent> pendingNavigationEvents
public boolean focusParentResponsePending
Constructor Detail |
---|
public VTreeTable()
Method Detail |
---|
protected VScrollTable.VScrollTableBody createScrollBody()
createScrollBody
in class VScrollTable
public void addAndRemoveRows(com.vaadin.client.UIDL partialRowAdditions)
VScrollTable
For internal use only. May be removed or replaced in the future.
addAndRemoveRows
in class VScrollTable
partialRowAdditions
- the UIDL containing row updates.protected int getHierarchyColumnIndex()
VScrollTable
VTreeTable
only. Not part of
the official API, extend at your own risk. May be removed or
replaced in the future.
getHierarchyColumnIndex
in class VScrollTable
protected String buildCaptionHtmlSnippet(com.vaadin.client.UIDL uidl)
buildCaptionHtmlSnippet
in class VScrollTable
uidl
- possibly with values caption and icon
public boolean handleNavigation(int keycode, boolean ctrl, boolean shift)
handleNavigation
in class VScrollTable
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)
VScrollTable
sendSelectedRows
in class VScrollTable
immediately
- set to true to immediately send the rowsprotected void reOrderColumn(String columnKey, int newIndex)
reOrderColumn
in class VScrollTable
public void setStyleName(String style)
setStyleName
in class VScrollTable
public void updateTotalRows(com.vaadin.client.UIDL uidl)
VScrollTable
updateTotalRows
in class VScrollTable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |