|
||||||||||
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.terminal.gwt.client.ui.table.VScrollTable com.vaadin.terminal.gwt.client.ui.treetable.VTreeTable
public class VTreeTable
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.client.ui.table.VScrollTable |
---|
VScrollTable.FooterCell, VScrollTable.HeaderCell, VScrollTable.RowHeadersFooterCell, VScrollTable.RowHeadersHeaderCell, 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 |
---|
Fields inherited from class com.vaadin.terminal.gwt.client.ui.table.VScrollTable |
---|
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ATTRIBUTE_PAGEBUFFER_FIRST, ATTRIBUTE_PAGEBUFFER_LAST, CLASSNAME, CLASSNAME_SELECTION_FOCUS, client, COLUMN_REORDER_EVENT_ID, COLUMN_RESIZE_EVENT_ID, contextMenu, 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 |
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 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)
|
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, onAttach, 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, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setWidth, 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.ForIsWidget |
---|
getWidgetIndex |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
---|
getWidget, getWidgetCount, getWidgetIndex, remove |
Constructor Detail |
---|
public VTreeTable()
Method Detail |
---|
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 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 |