The TreeTable supports the usual {@link Table} features like lazy
loading, so it should be no problem to display lots of items at once.
Only required rows and some cache rows are sent to the client.
|
__init__(self,
caption=None,
dataSource=None)
Creates a TreeTable instance with optional captions and data source. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
isPartialRowUpdate(self)
Subclass and override this to enable partial row updates and
additions, which bypass the normal caching mechanism. |
source code
|
|
|
|
|
|
|
|
|
|
|
getUpdatedRowCount(self)
Subclass and override this to enable partial row updates, bypassing
the normal caching and lazy loading mechanism. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nextItemId(self,
itemId)
Gets the ID of the Item following the Item that corresponds to
itemId. |
source code
|
|
|
|
|
prevItemId(self,
itemId)
Gets the ID of the Item preceding the Item that corresponds to the
itemId. |
source code
|
|
|
isLastId(self,
itemId)
Tests if the Item corresponding to the given Item ID is the last Item
in the IContainer. |
source code
|
|
|
|
|
|
|
|
|
|
|
hasChildren(self,
itemId)
Tests if the Item specified with itemId has child Items
or if it is a leaf. |
source code
|
|
|
isRoot(self,
itemId)
Tests if the Item specified with itemId is a root Item. |
source code
|
|
|
|
|
|
|
|
|
setCollapsed(self,
itemId,
collapsed)
Sets the Item specified by given identifier collapsed or expanded. |
source code
|
|
|
|
|
|
|
getHierarchyColumnId(self)
Returns:
the identifier of column into which the hierarchy will be visualized
or null if the column is not explicitly defined. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
isAnimationsEnabled(self)
@return true if animations are enabled |
source code
|
|
|
|
Inherited from table.Table :
addActionHandler ,
addContainerProperty ,
addGeneratedColumn ,
addItem ,
addItemAfter ,
areColumnHeadersEnabled ,
attach ,
containerPropertySetChange ,
detach ,
disableContentRefreshing ,
enableContentRefreshing ,
findAndPaintBodyActions ,
findCellsWithComponents ,
findNumRowsToPaint ,
findSelectedKeys ,
fireColumnResizeEvent ,
firstItemId ,
formatPropertyValue ,
getCacheRate ,
getCellStyleGenerator ,
getColumnAlignment ,
getColumnAlignments ,
getColumnExpandRatio ,
getColumnFooter ,
getColumnGenerator ,
getColumnHeader ,
getColumnHeaderMode ,
getColumnHeaders ,
getColumnIcon ,
getColumnIcons ,
getColumnWidth ,
getCurrentPageFirstItemId ,
getCurrentPageFirstItemIndex ,
getCurrentlyRenderedItemIds ,
getDragMode ,
getDropHandler ,
getFieldFactory ,
getItemDescriptionGenerator ,
getItemIdsInRange ,
getMultiSelectMode ,
getPageLength ,
getPropertyValue ,
getRowGenerator ,
getRowHeaderMode ,
getSortContainerPropertyId ,
getSortableContainerPropertyIds ,
getTableFieldFactory ,
getTransferable ,
getVisibleCells ,
getVisibleCellsInsertIntoCache ,
getVisibleCellsNoCache ,
getVisibleCellsUpdateCacheRows ,
getVisibleColumns ,
getVisibleItemIds ,
handleClickEvent ,
handleColumnResizeEvent ,
handleColumnWidthUpdates ,
handleSelectedItems ,
isColumnCollapsed ,
isColumnCollapsingAllowed ,
isColumnReorderingAllowed ,
isEditable ,
isFirstId ,
isFooterVisible ,
isPageBufferingEnabled ,
isRowCacheInvalidated ,
isSelectable ,
isSortAscending ,
isSortDisabled ,
listenProperty ,
paintActions ,
paintAvailableColumns ,
paintCellTooltips ,
paintColumnOrder ,
paintColumnWidth ,
paintDragMode ,
paintGeneratedRowInfo ,
paintPartialRowAdditions ,
paintPartialRowUpdate ,
paintPartialRowUpdates ,
paintRow ,
paintRowHeader ,
paintRowTooltips ,
paintRows ,
paintSelectMode ,
paintSorting ,
paintTabIndex ,
paintTableAttributes ,
paintVisibleColumnOrder ,
paintVisibleColumns ,
refreshCurrentPage ,
refreshRenderedCells ,
refreshRowCache ,
registerComponent ,
removeActionHandler ,
removeAllActionHandlers ,
removeAllItems ,
removeContainerProperty ,
removeGeneratedColumn ,
removeItem ,
removeRowsFromCacheAndFillBottom ,
requestRepaint ,
requestRepaintAll ,
resetPageBuffer ,
resetVariablesAndPageBuffer ,
rowHeadersAreEnabled ,
setCacheRate ,
setCellStyleGenerator ,
setColumnAlignment ,
setColumnAlignments ,
setColumnCollapsed ,
setColumnCollapsingAllowed ,
setColumnExpandRatio ,
setColumnFooter ,
setColumnHeader ,
setColumnHeaderMode ,
setColumnHeaders ,
setColumnIcon ,
setColumnIcons ,
setColumnOrder ,
setColumnReorderingAllowed ,
setColumnWidth ,
setCurrentPageFirstItemId ,
setCurrentPageFirstItemIndex ,
setDragMode ,
setDropHandler ,
setEditable ,
setEnabled ,
setFieldFactory ,
setFooterVisible ,
setItemDescriptionGenerator ,
setLazyLoading ,
setMultiSelectMode ,
setNewItemsAllowed ,
setPageBufferingEnabled ,
setPageLength ,
setRowCacheInvalidated ,
setRowGenerator ,
setRowHeaderMode ,
setSelectable ,
setSortAscending ,
setSortContainerPropertyId ,
setSortDisabled ,
setTableFieldFactory ,
setVisibleColumns ,
shouldHideNullSelectionItem ,
sort ,
translateDropTargetDetails ,
unregisterComponent ,
unregisterComponentsAndPropertiesInRows ,
unregisterPropertiesAndComponents ,
valueChange
Inherited from abstract_select.AbstractSelect :
containsId ,
fireItemSetChange ,
firePropertySetChange ,
getCaptionChangeListener ,
getContainerProperty ,
getContainerPropertyIds ,
getItem ,
getItemCaption ,
getItemCaptionMode ,
getItemCaptionPropertyId ,
getItemIcon ,
getItemIconPropertyId ,
getListeners ,
getNewItemHandler ,
getNullSelectionItemId ,
getType ,
getValue ,
isEmpty ,
isMultiSelect ,
isNewItemsAllowed ,
isNullSelectionAllowed ,
isSelected ,
paintItem ,
select ,
setItemCaption ,
setItemCaptionMode ,
setItemCaptionPropertyId ,
setItemIcon ,
setItemIconPropertyId ,
setMultiSelect ,
setNewItemHandler ,
setNullSelectionAllowed ,
setNullSelectionItemId ,
setValue ,
unselect
Inherited from abstract_field.AbstractField :
__str__ ,
addShortcutListener ,
addValidator ,
commit ,
discard ,
fireReadOnlyStatusChange ,
fireValueChange ,
focus ,
getActionManager ,
getErrorMessage ,
getPropertyDataSource ,
getRequiredError ,
getTabIndex ,
getValidators ,
isInvalidAllowed ,
isInvalidCommitted ,
isModified ,
isReadOnly ,
isReadThrough ,
isRequired ,
isValid ,
isValidationVisible ,
isWriteThrough ,
readOnlyStatusChange ,
readValueFromProperty ,
removeShortcutListener ,
removeValidator ,
setCurrentBufferedSourceException ,
setInternalValue ,
setInvalidAllowed ,
setInvalidCommitted ,
setPropertyDataSource ,
setReadOnly ,
setReadThrough ,
setRequired ,
setRequiredError ,
setTabIndex ,
setValidationVisible ,
setWriteThrough ,
shouldHideErrors ,
validate
Inherited from abstract_component.AbstractComponent :
__getstate__ ,
__setstate__ ,
addStyleName ,
childRequestedRepaint ,
fireComponentErrorEvent ,
fireComponentEvent ,
fireEvent ,
fireRequestRepaintEvent ,
getApplication ,
getCSSHeight ,
getCSSWidth ,
getCaption ,
getComponentError ,
getData ,
getDebugId ,
getDescription ,
getErrorHandler ,
getHeight ,
getHeightUnits ,
getIcon ,
getLocale ,
getStyle ,
getStyleName ,
getWidth ,
getWidthUnits ,
getWindow ,
handleError ,
hasListeners ,
isEnabled ,
isImmediate ,
isVisible ,
paint ,
parseStringSize ,
registerCallback ,
registerListener ,
removeStyleName ,
requestRepaintRequests ,
setCaption ,
setComponentError ,
setData ,
setDebugId ,
setDescription ,
setErrorHandler ,
setHeight ,
setHeightUnits ,
setIcon ,
setImmediate ,
setLocale ,
setSizeFull ,
setSizeUndefined ,
setStyle ,
setStyleName ,
setVisible ,
setWidth ,
setWidthUnits ,
withdrawCallback ,
withdrawListener
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|