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 --+ | IndexedContainer
An implementation of the IContainer.Indexed
interface with all important features.
Features:
ICloneable
(deprecated, might be removed in
the future)
See Also:
IContainer
Version: 1.1.2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Constructor for an abstract in-memory container.
|
Get an item even if filtered out. For internal use only.
|
Gets the ID's of all Properties stored in the IContainer. The ID's cannot be modified through the returned collection.
|
Gets the type of a IProperty stored in the list.
|
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,
|
Adds a new Property to all Items in the IContainer. The Property ID, data type and default value of the new Property are given as parameters. This functionality is optional.
|
Removes all Items from the IContainer. Note that Property ID and type information is preserved. This functionality is optional.
|
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
|
Helper method to add default values for items if available
|
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 a Property specified by the given Property ID from the IContainer. Note that the Property will be removed from all Items in the IContainer. This functionality is optional.
|
Adds a new item after the given item. Adding an item after null item adds the item as first item of the ordered container.
|
Adds a new item at given index (in the filtered view). The indices of the item currently in the given position and all the following items are incremented. This method should apply filters to the added item after inserting it, possibly hiding it immediately. If the container is being sorted, the item may be added at the correct sorted position instead of the given position. See IIndexed, IOrdered, IFilterable and ISortable for more information.
|
Generates an unique identifier for use as an item id. Guarantees that the generated id is not currently used as an id. |
Registers a new item as having been added to the container. This can involve storing the item or any relevant information about it in internal container-specific collections if necessary, as well as registering listeners etc. The full identifier list in AbstractInMemoryContainer has already been updated to reflect the new item when this method is called.
|
Implementation of the corresponding method in
|
|
Implementation of the corresponding method in
|
|
Sends a IProperty value change event to all interested listeners.
|
|
|
Notify item set change listeners that an item has been added to the container. Unless subclasses specify otherwise, the default notification indicates a full refresh.
|
Sends a simple Item set change event to all interested listeners, indicating that anything in the contents may have changed (items added, removed etc.).
|
Adds new single IProperty change listener.
|
Removes a previously registered single IProperty change listener.
|
Sort method. Sorts the container items. Sorting a container can irreversibly change the order of its items or only change the order temporarily, depending on the container.
|
Gets the container property IDs which can be used to sort the items.
|
Returns the ItemSorter used for comparing items in a sort. See setItemSorter for more information.
|
Sets the ItemSorter used for comparing items in a sort. The
|
Supports cloning of the IndexedContainer cleanly.
Deprecated: cloning support might be removed from IndexedContainer in the future |
Adds a filter for the container. If a container has multiple filters, only items accepted by all filters are visible.
|
Remove all active filters from the container.
|
Remove all filters from the given property.
|
Removes a filter from the container. This requires that the
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 6 19:32:50 2013 | http://epydoc.sourceforge.net |