Home | Trees | Indices | Help |
|
---|
|
object --+ | IContainer --+ | IOrdered --+ | ISortable
Interface for IContainer classes whose Item
s
can be sorted.
When an IOrdered or IIndexed container is sorted, all relevant operations of
these interfaces should only use the filtered and sorted contents and the
filtered indices to the container. Indices or item identifiers in the
public API refer to the visible view unless otherwise stated. However,
the addItem*()
methods may add items that will be filtered
out after addition or moved to another position based on sorting.
How sorting is performed when a IHierarchical container implements ISortable is implementation specific and should be documented in the implementing class. However, the recommended approach is sorting the roots and the sets of children of each item separately.
Depending on the container type, sorting a container may permanently change the internal order of items in the container.
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
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.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 6 19:32:50 2013 | http://epydoc.sourceforge.net |