#import <MyImageListItem.h>


Public Member Functions | |
| (id) | - initWithURL: |
| Initialization. | |
Read | |
Read accessors to the class attributes | |
| (NSURL *) | - getURL |
| Read the URL of the associated file. | |
| (int) | - getSelectionState |
| Read the item current selection state. | |
| (NSNumber *) | - selectionState |
| Get the item current selection state as a NSNumber. | |
| (NSString *) | - name |
| Read the name of the associated file. | |
| (NSNumber *) | - index |
| Read the movie image index (nil if not in a movie). | |
| (MyImageListItem *) | - getParent |
| Get the parent item if there is one. | |
| (u_long) | - numberOfChildren |
| Return the number of children, 0 for leaf items. | |
| (MyImageListItem *) | - getChildAtIndex: |
| Get the asked item. | |
| (unsigned) | - indexOfItem: |
| Get the index of the given item in the child list (different from the item index which is the index of its frame in the movie). | |
| (id< LynkeosFileReader >) | - getReader |
| Get the file reader for that item. | |
Write | |
Write accessors to the class attributes | |
| (void) | - addChild: |
| Add the given child in the children list. | |
| (void) | - deleteChild: |
| Delete the given child from the children list. | |
| (void) | - setSelected: |
| Set the selection state (no tristate). | |
| (void) | - setParametersParent: |
| Set the parent object for parameters chain. | |
Static Public Member Functions | |
| (id) | + imageListItemWithURL: |
| Creator. | |
| (NSArray *) | + imageListItemFileTypes |
| File types and subclasses registering. | |
Protected Attributes | |
|
id< LynkeosImageFileReader, LynkeosMovieFileReader > | _reader |
| < The associated file reader | |
| NSURL * | _itemURL |
| Image or movie URL. | |
| NSString * | _itemName |
| To be displayed to user. | |
| NSMutableArray * | _childList |
| Array of childs, if any. | |
| MyImageListItem * | _parent |
| Parent item, if any. | |
| u_long | _index |
| int | _selection_state |
| Current selection state, can be tri state. | |
| id< LynkeosImageBuffer > | _flat |
| Cached flat field. | |
| id< LynkeosImageBuffer > | _dark |
| Cached dark frame. | |
It provides a unique interface to the outline view, and the common data and methods for the image list items.
| - (id) initWithURL: | (NSURL*) | url |
Initialization.
| url | Image or movie associated with this item. |
| - (NSURL *) getURL |
Read the URL of the associated file.
| - (int) getSelectionState |
Read the item current selection state.
| - (NSNumber *) selectionState |
| - (NSString *) name |
Read the name of the associated file.
| - (NSNumber *) index |
Read the movie image index (nil if not in a movie).
| - (MyImageListItem *) getParent |
Get the parent item if there is one.
| - (u_long) numberOfChildren |
Return the number of children, 0 for leaf items.
| - (MyImageListItem *) getChildAtIndex: | (u_long) | index |
Get the asked item.
| index | The index of item to get. |
| - (unsigned) indexOfItem: | (MyImageListItem*) | item |
Get the index of the given item in the child list (different from the item index which is the index of its frame in the movie).
| item | The item which index we need |
| - (id< LynkeosFileReader >) getReader |
Get the file reader for that item.
| - (void) addChild: | (MyImageListItem*) | item |
Add the given child in the children list.
| item | The item to add |
| - (void) deleteChild: | (MyImageListItem*) | item |
Delete the given child from the children list.
| item | The item to delete |
| - (void) setSelected: | (BOOL) | value |
Set the selection state (no tristate).
| value | The new selection state |
| - (void) setParametersParent: | (MyProcessingParameter*) | parent |
Set the parent object for parameters chain.
| parent | The parent of this item in the parameter chain |
| + (id) imageListItemWithURL: | (NSURL*) | url |
Creator.
| url | The URL from which the item shall be created. |
| + (NSArray *) imageListItemFileTypes |
File types and subclasses registering.
- (u_long) _index [protected] |
Our index, if any
1.5.4