| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
util.IEventListener --+
|
terminal.paintable.IPaintable --+
|
object --+ |
| |
terminal.variable_owner.IVariableOwner --+
|
object --+ |
| |
terminal.sizeable.ISizeable --+
|
component.IComponent --+
|
object --+ |
| |
event.method_event_source.IMethodEventSource --+
|
abstract_component.AbstractComponent --+
|
object --+ |
| |
data.buffered.IBuffered --+ |
| |
object --+ | |
| | |
data.validatable.IValidatable --+ |
| |
data.buffered.IBufferedValidatable --+ |
| |
object --+ | |
| | |
data.property.IValueChangeNotifier --+ |
| |
object --+ | |
| | |
data.property.IValueChangeListener --+ |
| |
object --+ | |
| | |
data.property.IViewer --+ | |
| | |
data.property.IEditor --+ |
| |
object --+ | |
| | |
util.IEventListener --+ | |
| | |
terminal.paintable.IPaintable --+ | |
| | |
object --+ | | |
| | | |
terminal.variable_owner.IVariableOwner --+ | |
| | |
object --+ | | |
| | | |
terminal.sizeable.ISizeable --+ | |
| | |
component.IComponent --+ | |
| | |
component.IFocusable --+ |
| |
field.IField --+
|
object --+ |
| |
event.action.IShortcutNotifier --+
|
object --+ |
| |
data.property.IReadOnlyStatusChangeNotifier --+
|
object --+ |
| |
data.property.IReadOnlyStatusChangeListener --+
|
abstract_field.AbstractField --+
|
object --+ |
| |
data.container.IContainer --+
|
object --+ |
| |
data.container.IViewer --+
|
object --+ |
| |
data.container.IPropertySetChangeListener --+
|
object --+ |
| |
data.container.IPropertySetChangeNotifier --+
|
object --+ |
| |
data.container.IItemSetChangeNotifier --+
|
object --+ |
| |
data.container.IItemSetChangeListener --+
|
abstract_select.AbstractSelect --+
|
object --+ |
| |
data.container.IContainer --+ |
| |
data.container.IOrdered --+ |
| |
data.container.ISortable --+
|
object --+ |
| |
event.item_click_event.IItemClickNotifier --+ |
| |
event.item_click_event.IItemClickSource --+
|
object --+ |
| |
event.item_click_event.IItemClickNotifier --+
|
object --+ |
| |
util.IEventListener --+ |
| |
terminal.paintable.IPaintable --+ |
| |
object --+ | |
| | |
terminal.variable_owner.IVariableOwner --+ |
| |
object --+ | |
| | |
terminal.sizeable.ISizeable --+ |
| |
component.IComponent --+ |
| |
event.dd.drag_source.IDragSource --+
|
object --+ |
| |
util.IEventListener --+ |
| |
terminal.paintable.IPaintable --+ |
| |
object --+ | |
| | |
terminal.variable_owner.IVariableOwner --+ |
| |
object --+ | |
| | |
terminal.sizeable.ISizeable --+ |
| |
component.IComponent --+ |
| |
event.dd.drop_target.IDropTarget --+
|
table.Table --+
|
object --+ |
| |
data.container.IContainer --+ |
| |
data.container.IHierarchical --+
|
TreeTable
TreeTable extends the Table component so that it can also visualize a hierarchy of its Items in a similar manner that {@link Tree} does. The tree hierarchy is always displayed in the first actual column of the TreeTable.
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.
TreeTable supports standard IHierarchical container interfaces, but also a more fine tuned version - ICollapsible. A container implementing the ICollapsible interface stores the collapsed/expanded state internally and can this way scale better on the server side than with standard Hierarchical implementations. Developer must however note that ICollapsible containers can not be shared among several users as they share UI state in the container.
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Creates a TreeTable instance with optional captions and data source.
|
A method where extended Table implementations may add their custom attributes for rows.
|
|
Invoked when the value of a variable has changed.
|
Paints the content of this component.
|
Subclass and override this to enable partial row updates and additions, which bypass the normal caching mechanism. This is useful for e.g. TreeTable.
|
Subclass and override this to enable partial row additions, bypassing the normal caching mechanism. This is useful for e.g. TreeTable, where expanding a node should only fetch and add the items inside of that node.
|
Subclass and override this to enable partial row additions, bypassing the normal caching mechanism. This is useful for e.g. TreeTable, where expanding a node should only fetch and add the items inside of that node.
|
Subclass and override this to enable partial row updates, bypassing the normal caching and lazy loading mechanism. This is useful for updating the state of certain rows, e.g. in the TreeTable the collapsed state of a single node is updated using this mechanism.
|
Subclass and override this to enable partial row updates, bypassing
the normal caching and lazy loading mechanism. This is useful for
updating the state of certain rows, e.g. in the TreeTable the collapsed
state of a single node is updated using this mechanism.
@return: the number of rows to update, starting at the index returned
by L{getFirstUpdatedItemIndex}. For plain table it is always
0.
|
Subclass and override this to enable removing of rows, bypassing the normal caching and lazy loading mechanism. This is useful for e.g. TreeTable, when you need to hide certain rows as a node is collapsed. This should return true if the rows pointed to by getFirstAddedItemIndex and getAddedRowCount should be hidden instead of added.
|
Gets the number of visible Items in the IContainer. Filtering can hide items so that they will not be visible through the container API.
|
|
Gets the viewing data-source container.
|
Sets the IContainer that serves as the data source of the viewer. As a side-effect the fields value (selection) is set to null due old selection not necessary exists in new IContainer.
|
IContainer datasource item set change. Table must flush its buffers on change.
|
|
|
Gets the ID of the Item following the Item that corresponds to itemId.
|
Gets the ID of the last Item in the IContainer.
|
Gets the ID of the Item preceding the Item that corresponds to the itemId.
|
Tests if the Item corresponding to the given Item ID is the last Item in the IContainer.
|
Gets the item Id collection from the container.
|
Tests if the Item with given ID can have children.
|
Gets the IDs of all Items that are children of the specified Item. The returned collection is unmodifiable.
|
Gets the parent component of the component. Components can be nested but a component can have only one parent. A
component that contains other components, that is, can be a parent,
should usually inherit the
|
Tests if the Item specified with Note that being a leaf does not imply whether or not an Item is allowed to have children.
|
Tests if the Item specified with
|
Gets the IDs of all Items in the container that don't have a parent.
Such items are called
|
Sets the given Item's capability to have children. If the Item
identified with The children must be first explicitly removed with setParent or removeItem. This operation is optional. If it is not implemented, the method
always returns
|
Sets the parent component of the component. This method automatically calls attach if the parent becomes attached to the
application, regardless of whether it was attached previously.
Conversely, if the parent is This method is rarely called directly. The It is not possible to change the parent without first setting the
parent to
|
Sets the Item specified by given identifier collapsed or expanded. If the Item is collapsed, its children is not displayed in for the user.
|
Checks if Item with given identifier is collapsed in the UI.
See Also:
|
Explicitly sets the column in which the TreeTable visualizes the hierarchy. If hierarchyColumnId is not set, the hierarchy is visualized in the first visible column. |
|
Adds an expand/collapse listener.
|
|
Removes an expand or collapselistener.
|
|
Emits an expand event.
|
Emits a collapse event.
|
Animations can be enabled by passing true to this method. Currently
expanding rows slide in from the top and collapsing rows slide out the
same way. NOTE! not supported in Internet Explorer 6 or 7.
@param animationsEnabled
true or false whether to enable animations or not.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jul 6 13:41:00 2013 | http://epydoc.sourceforge.net |