|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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.terminal.gwt.client.ui.VScrollTable
com.vaadin.terminal.gwt.client.ui.VTreeTable
public class VTreeTable
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.client.ui.VScrollTable |
---|
VScrollTable.FooterCell, VScrollTable.HeaderCell, VScrollTable.RowHeadersFooterCell, VScrollTable.RowHeadersHeaderCell, 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 | |
---|---|
static String |
ATTRIBUTE_HIERARCHY_COLUMN_INDEX
|
Fields inherited from class com.vaadin.terminal.gwt.client.ui.VScrollTable |
---|
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ATTRIBUTE_KEY_MAPPER_RESET, ATTRIBUTE_PAGEBUFFER_FIRST, ATTRIBUTE_PAGEBUFFER_LAST, CLASSNAME, CLASSNAME_SELECTION_FOCUS, client, COLUMN_REORDER_EVENT_ID, COLUMN_RESIZE_EVENT_ID, FOOTER_CLICK_EVENT_ID, HEADER_CLICK_EVENT_ID, ITEM_CLICK_EVENT_ID, paintableId, showRowHeaders, tHead |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Fields inherited from interface com.vaadin.terminal.gwt.client.ui.Table |
---|
SELECT_MODE_MULTI, SELECT_MODE_NONE, SELECT_MODE_SINGLE |
Constructor Summary | |
---|---|
VTreeTable()
|
Method Summary | |
---|---|
protected 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. |
protected boolean |
handleNavigation(int keycode,
boolean ctrl,
boolean shift)
Handles the keyboard events handled by the table |
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 |
updateFromUIDL(UIDL uidl,
ApplicationConnection client)
|
protected void |
updateTotalRows(UIDL uidl)
|
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 |
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, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
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 |
---|
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.IndexedPanel |
---|
getWidget, getWidgetCount, getWidgetIndex, remove |
Field Detail |
---|
public static final String ATTRIBUTE_HIERARCHY_COLUMN_INDEX
Constructor Detail |
---|
public VTreeTable()
Method Detail |
---|
public void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL
in interface Paintable
updateFromUIDL
in class VScrollTable
protected VScrollTable.VScrollTableBody createScrollBody()
createScrollBody
in class VScrollTable
protected void addAndRemoveRows(UIDL partialRowAdditions)
VScrollTable
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.
getHierarchyColumnIndex
in class VScrollTable
protected String buildCaptionHtmlSnippet(UIDL uidl)
buildCaptionHtmlSnippet
in class VScrollTable
uidl
- possibly with values caption and icon
protected boolean handleNavigation(int keycode, boolean ctrl, boolean shift)
VScrollTable
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 com.google.gwt.user.client.ui.UIObject
protected void updateTotalRows(UIDL uidl)
updateTotalRows
in class VScrollTable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |