| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
container.IContainer --+
|
abstract_container.AbstractContainer --+
|
object --+ |
| |
container.IItemSetChangeNotifier --+
|
object --+ |
| |
container.IContainer --+ |
| |
container.IOrdered --+ |
| |
container.IIndexed --+
|
abstract_in_memory_container.AbstractInMemoryContainer --+
|
object --+ |
| |
container.IPropertySetChangeNotifier --+
|
object --+ |
| |
property.IValueChangeNotifier --+
|
object --+ |
| |
container.IContainer --+ |
| |
container.IOrdered --+ |
| |
container.ISortable --+
|
object --+ |
| |
container.IContainer --+ |
| |
container.IFilterable --+
|
object --+ |
| |
container.IContainer --+ |
| |
container.ISimpleFilterable --+
|
indexed_container.IndexedContainer --+
|
object --+ |
| |
container.IContainer --+ |
| |
container.IHierarchical --+
|
object --+ |
| |
container.IContainer --+
|
HierarchicalContainer
A specialized Container whose contents can be accessed like it was a tree-like structure.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor for an abstract in-memory 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 ID of the parent Item of the specified Item.
|
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 itemId already has children and the
areChildrenAllowed is false this method fails and
|
Sets the parent of an Item. The new parent item must exist and be able
to have children. (
|
Moves a node (an Item) in the container immediately after a sibling node. The two nodes must have the same parent in the container.
|
Creates a new Item with the given ID in the IContainer. Creates a new
Item into the IContainer, and assign it an automatic ID if itemId is
The new Item is returned, and it is ready to have its Properties
modified. Returns
|
Sends a simple Item set change event to all interested listeners, indicating that anything in the contents may have changed (items added, removed etc.).
|
Removes all Items from the IContainer. Note that Property ID and type information is preserved. This functionality is optional.
|
Removes the Item identified by Containers that support filtering should also allow removing an item that is currently filtered out. This functionality is optional.
|
Removes the Item identified by given itemId and all its children from the given Container.
See Also: removeItem |
Perform the sorting of the data structures in the container. This is
invoked when the
|
Used to control how filtering works. @see setIncludeParentsWhenFiltering for more information.
|
Controls how the filtering of the container works. Set this to true to make filtering include parents for all matched items in addition to the items themselves. Setting this to false causes the filtering to only include the matching items and make items with excluded parents into root items.
|
Filters the data in the container and updates internal data structures. This method should reset any internal data structures and then repopulate them so getItemIds and other methods only return the filtered items.
|
Recursively adds all items in the includedItems list to the filteredChildren map in the same order as they are in the children map. Starts from parentItemId and recurses down as long as child items that should be included are found.
|
Scans the itemId and all its children for which items should be included when filtering. All items which passes the filters are included. Additionally all items that have a child node that should be included are also themselves included.
|
Checks if the given itemId passes the filters set for the container. The caller should make sure the itemId exists in the container. For non-existing itemIds the behaviour is undefined.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Apr 20 16:52:50 2013 | http://epydoc.sourceforge.net |