#import <MyImageListEnumerator.h>


Public Member Functions | |
| (id) | - initWithImageList:startAt:directSense:skipUnselected: |
| Base initializer. | |
| (id) | - initWithImageList: |
| Simplified initializer. | |
Protected Attributes | |
| NSArray * | _itemList |
| The list of items to enumerate. | |
| int | _listSize |
| Number of first level items. | |
| int | _itemIndex |
| Index of current first level item. | |
| MyImageListItem * | _currentContainer |
| Container being enumerated if any. | |
| int | _containerSize |
| Number of items in the container. | |
| int | _containerIndex |
| Index of current item in the container. | |
| int | _step |
| Sense of enumeration (1 or -1). | |
| BOOL | _skipUnselected |
| Do not enumerate unselected items. | |
| NSRecursiveLock * | _lock |
| Lock for multithreads access. | |
This enumerator scans all the MyImageListItem images in a MyImageList. When the list contains a container, it scans each items inside it.
| - (id) initWithImageList: | (NSArray*) | list | ||
| startAt: | (MyImageListItem*) | item | ||
| directSense: | (BOOL) | direct | ||
| skipUnselected: | (BOOL) | skip | ||
Base initializer.
| list | The MyImageListItem array do scan | |
| item | The item to start with. If nil, the first or last (if reverse enumerator) is taken | |
| direct | Direct or reverse enumerator | |
| skip | Whether to skip unselected images It initializes a MyImageListEnumerator whith a custom starting point and a custom scanning direction. |
| - (id) initWithImageList: | (NSArray*) | list |
Simplified initializer.
| list | The MyImageListItem array to scan It initializes a direct enumerator for all items starting at the first item of the list. |
1.5.4