API  0.9.7-1
 All Classes Files Functions Variables Macros Groups Pages
CPTreeNode Class Reference

#import <CPTreeNode.h>

+ Inheritance diagram for CPTreeNode:

Instance Methods

(CPArray) - childNodes
 
(CPTreeNode- descendantNodeAtIndexPath:
 
(void) - encodeWithCoder:
 
(id) - initWithCoder:
 
(id) - initWithRepresentedObject:
 
(void) - insertObject:inChildNodesAtIndex:
 
(BOOL) - isLeaf
 
(CPMutableArray- mutableChildNodes
 
(id) - objectInChildNodesAtIndex:
 
(CPTreeNode- parentNode
 
(void) - removeObjectFromChildNodesAtIndex:
 
(void) - replaceObjectFromChildNodesAtIndex:withObject:
 
(id) - representedObject
 
(void) - sortWithSortDescriptors:recursively:
 

Class Methods

(id) + treeNodeWithRepresentedObject:
 

Detailed Description

Definition at line 2 of file CPTreeNode.h.

Method Documentation

- (CPArray) childNodes
implementation

Definition at line 56 of file CPTreeNode.j.

- (CPTreeNode) descendantNodeAtIndexPath: (CPIndexPath indexPath
implementation

Definition at line 110 of file CPTreeNode.j.

- (void) encodeWithCoder: (CPCoder aCoder
implementation

Provided by category CPTreeNode(CPCoding).

Definition at line 144 of file CPTreeNode.j.

- (id) initWithCoder: (CPCoder aCoder
implementation

Provided by category CPTreeNode(CPCoding).

Definition at line 130 of file CPTreeNode.j.

- (id) initWithRepresentedObject: (id)  anObject
implementation

Definition at line 38 of file CPTreeNode.j.

- (void) insertObject: (id)  aTreeNode
inChildNodesAtIndex: (CPInteger)  anIndex 
implementation

Definition at line 66 of file CPTreeNode.j.

- (BOOL) isLeaf
implementation

Definition at line 51 of file CPTreeNode.j.

- (CPMutableArray) mutableChildNodes
implementation

Definition at line 61 of file CPTreeNode.j.

- (id) objectInChildNodesAtIndex: (CPInteger)  anIndex
implementation

Definition at line 92 of file CPTreeNode.j.

- (CPTreeNode) parentNode
implementation

Synthesized accessor method.

Provided by category CPTreeNode(CPSynthesizedAccessors).

Definition at line 166 of file CPTreeNode.j.

- (void) removeObjectFromChildNodesAtIndex: (CPInteger)  anIndex
implementation

Definition at line 75 of file CPTreeNode.j.

- (void) replaceObjectFromChildNodesAtIndex: (CPInteger)  anIndex
withObject: (id)  aTreeNode 
implementation

Definition at line 82 of file CPTreeNode.j.

- (id) representedObject
implementation

Synthesized accessor method.

Provided by category CPTreeNode(CPSynthesizedAccessors).

Definition at line 158 of file CPTreeNode.j.

- (void) sortWithSortDescriptors: (CPArray)  sortDescriptors
recursively: (BOOL)  shouldSortRecursively 
implementation

Definition at line 97 of file CPTreeNode.j.

+ (id) treeNodeWithRepresentedObject: (id)  anObject
implementation

Definition at line 33 of file CPTreeNode.j.


The documentation for this class was generated from the following files: