API  1.0.0
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: 
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context: 
 
(void) - applyChange:toKeyPath: 
 
(id) - autorelease 
 
(id) - awakeAfterUsingCoder: 
 
(void) - awakeFromCib 
 
(void) - bind:toObject:withKeyPath:options: 
 
(Class) - classForCoder 
 
(Class) - classForKeyedArchiver 
 
(CPString) - className 
 
(id) - copy 
 
(void) - dealloc 
 
(CPString) - description 
 
(CPDictionary) - dictionaryWithValuesForKeys: 
 
(void) - didChange:valuesAtIndexes:forKey: 
 
(void) - didChangeValueForKey: 
 
(void) - didChangeValueForKey:withSetMutation:usingObjects: 
 
(void) - doesNotRecognizeSelector: 
 
(CPArray) - exposedBindings 
 
(id) - forwardingTargetForSelector: 
 
(void) - forwardInvocation: 
 
(unsigned) - hash 
 
(BOOL) - implementsSelector: 
 
(CPDictionary) - infoForBinding: 
 
(id) - init 
 
(BOOL) - isEqual: 
 
(BOOL) - isKindOfClass: 
 
(BOOL) - isMemberOfClass: 
 
(BOOL) - isProxy 
 
(IMP) - methodForSelector: 
 
(CPMethodSignature) - methodSignatureForSelector: 
 
(id) - mutableArrayValueForKey: 
 
(id) - mutableArrayValueForKeyPath: 
 
(id) - mutableCopy 
 
(id) - mutableSetValueForKey: 
 
(id) - mutableSetValueForKeyPath: 
 
(id) - performSelector: 
 
(id) - performSelector:withObject: 
 
(void) - performSelector:withObject:afterDelay: 
 
(void) - performSelector:withObject:afterDelay:inModes: 
 
(id) - performSelector:withObject:withObject: 
 
(id) - performSelector:withObjects: 
 
(void) - release 
 
(void) - removeObserver:forKeyPath: 
 
(id) - replacementObjectForArchiver: 
 
(id) - replacementObjectForCoder: 
 
(id) - replacementObjectForKeyedArchiver: 
 
(BOOL) - respondsToSelector: 
 
(id) - retain 
 
(id) - self 
 
(void) - setValue:forKey: 
 
(void) - setValue:forKeyPath: 
 
(void) - setValue:forUndefinedKey: 
 
(void) - setValuesForKeysWithDictionary: 
 
(CPString) - UID 
 
(void) - unbind: 
 
(Class) - valueClassForBinding: 
 
(id) - valueForKey: 
 
(id) - valueForKeyPath: 
 
(id) - valueForUndefinedKey: 
 
(void) - willChange:valuesAtIndexes:forKey: 
 
(void) - willChangeValueForKey: 
 
(void) - willChangeValueForKey:withSetMutation:usingObjects: 
 

Class Methods

(id) + treeNodeWithRepresentedObject: 
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly 
 
(id) + alloc 
 
(id) + allocWithCoder: 
 
(BOOL) + automaticallyNotifiesObserversForKey: 
 
(void) + cancelPreviousPerformRequestsWithTarget: 
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object: 
 
(Class) + class 
 
(BOOL) + conformsToProtocol: 
 
(void) + exposeBinding: 
 
(void) + initialize 
 
(IMP) + instanceMethodForSelector: 
 
(BOOL) + instancesImplementSelector: 
 
(BOOL) + instancesRespondToSelector: 
 
(BOOL) + isBindingExclusive: 
 
(BOOL) + isSubclassOfClass: 
 
(CPSet) + keyPathsForValuesAffectingValueForKey: 
 
(void) + load 
 
(id) + new 
 
(void) + object:performSelector:withObject:afterDelay:inModes: 
 
(void) + setVersion: 
 
(Class) + superclass 
 
(int) + version 
 

Detailed Description

Definition at line 2 of file CPTreeNode.h.

Method Documentation

◆ childNodes()

- (CPArray) childNodes
implementation

Definition at line 56 of file CPTreeNode.j.

◆ descendantNodeAtIndexPath:()

- (CPTreeNode) descendantNodeAtIndexPath: (CPIndexPath)  indexPath
implementation

Definition at line 110 of file CPTreeNode.j.

◆ encodeWithCoder:()

- (void) encodeWithCoder: (CPCoder)  aCoder
implementation

Provided by category CPTreeNode(CPCoding).

Definition at line 144 of file CPTreeNode.j.

◆ initWithCoder:()

- (id) initWithCoder: (CPCoder)  aCoder
implementation

Provided by category CPTreeNode(CPCoding).

Definition at line 130 of file CPTreeNode.j.

◆ initWithRepresentedObject:()

- (id) initWithRepresentedObject: (id)  anObject
implementation

Definition at line 38 of file CPTreeNode.j.

◆ insertObject:inChildNodesAtIndex:()

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

Definition at line 66 of file CPTreeNode.j.

◆ isLeaf()

- (BOOL) isLeaf
implementation

Definition at line 51 of file CPTreeNode.j.

◆ mutableChildNodes()

- (CPMutableArray) mutableChildNodes
implementation

Definition at line 61 of file CPTreeNode.j.

◆ objectInChildNodesAtIndex:()

- (id) objectInChildNodesAtIndex: (CPInteger)  anIndex
implementation

Definition at line 92 of file CPTreeNode.j.

◆ parentNode()

- (CPTreeNode) parentNode
implementation

Synthesized accessor method.

Provided by category CPTreeNode(CPSynthesizedAccessors).

Definition at line 166 of file CPTreeNode.j.

◆ removeObjectFromChildNodesAtIndex:()

- (void) removeObjectFromChildNodesAtIndex: (CPInteger)  anIndex
implementation

Definition at line 75 of file CPTreeNode.j.

◆ replaceObjectFromChildNodesAtIndex:withObject:()

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

Definition at line 82 of file CPTreeNode.j.

◆ representedObject()

- (id) representedObject
implementation

Synthesized accessor method.

Provided by category CPTreeNode(CPSynthesizedAccessors).

Definition at line 158 of file CPTreeNode.j.

◆ sortWithSortDescriptors:recursively:()

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

Definition at line 97 of file CPTreeNode.j.

◆ treeNodeWithRepresentedObject:()

+ (id) treeNodeWithRepresentedObject: (id)  anObject
implementation

Definition at line 33 of file CPTreeNode.j.


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