Home | Trees | Indices | Help |
|
---|
|
object --+ | container.IContainer --+ | container.IOrdered --+ | object --+ | | | container.IItemSetChangeNotifier --+ | object --+ | | | container.IPropertySetChangeNotifier --+ | ContainerOrderedWrapper
A wrapper class for adding external ordering to containers not implementing the IOrdered interface.
If the wrapped container is changed directly (that is, not through the wrapper), and does not implement Container.ItemSetChangeNotifier and/or PropertySetChangeNotifier the hierarchy information must be updated with the updateOrderWrapper method.
Version: 1.1.2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructs a new ordered wrapper for an existing Container. Works even if the to-be-wrapped container already implements the Container.Ordered interface. @param toBeWrapped the container whose contents need to be ordered.
|
Removes the specified Item from the wrapper's internal hierarchy structure. Note : The Item is not removed from the underlying Container.
|
Registers the specified Item to the last position in the wrapper's internal ordering. The underlying container is not modified. @param idd the ID of the Item to be added to the ordering. --- Registers the specified Item after the specified itemId in the wrapper's internal ordering. The underlying container is not modified. Given item idd must be in the container, or must be null. @param idd the ID of the Item to be added to the ordering. @param previousItemId the Id of the previous item. |
Updates the wrapper's internal ordering information to include all Items in the underlying container. Note: If the contents of the wrapped container change without the wrapper's knowledge, this method needs to be called to update the ordering information of the Items. |
Gets the ID of the first Item in the IContainer.
|
Tests if the Item corresponding to the given Item ID is the first Item in the IContainer.
|
Tests if the Item corresponding to the given Item ID is the last Item in the IContainer.
|
Gets the ID of the last Item in the IContainer..
|
Gets the ID of the Item following the Item that corresponds to
|
Gets the ID of the Item preceding the Item that corresponds to
|
Registers a new Property to all Items in the Container.
|
Creates a new Item into the Container, assigns it an automatic ID, and adds it to the ordering. Alternatively, registers a new Item by its ID to the underlying container and to the ordering.
|
Removes all items from the underlying container and from the ordering.
|
Removes an Item specified by the itemId from the underlying container and from the ordering.
|
Removes the specified Property from the underlying container and from the ordering. Note: The Property will be removed from all the Items in the Container.
|
Tests if the IContainer contains the specified Item. Filtering can hide items so that they will not be visible through the container API, and this method should respect visibility of items (i.e. only indicate visible items as being in the container) if feasible for the container.
|
Gets the Containers should not return Items that are filtered out.
|
Gets the ID's of all visible (after filtering and sorting) Items stored in the IContainer. The ID's cannot be modified through the returned collection. If the container is IOrdered, the collection returned by this method should follow that order. If the container is ISortable, the items should be in the sorted order. Calling this method for large lazy containers can be an expensive operation and should be avoided when practical.
|
Gets the Property identified by the given itemId and propertyId from
the IContainer. If the IContainer does not contain the item or it is
filtered out, or the IContainer does not have the Property,
|
Gets the ID's of all Properties stored in the IContainer. The ID's cannot be modified through the returned collection.
|
Gets the data type of all Properties identified by the given Property ID.
|
Gets the number of visible Items in the IContainer. Filtering can hide items so that they will not be visible through the container API.
|
Adds an Item set change listener for the object.
|
|
Removes the Item set change listener from the object.
|
|
Adds a new item after the given item. Adding an item after null item adds the item as first item of the ordered container.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 20 16:52:50 2013 | http://epydoc.sourceforge.net |