#import <Node.h>
Public Member Functions | |
(id) | - initWithString: |
(void) | - addChild: |
(void) | - sortArrays |
sorts this nodes children according to their countOfLeaves. Limits [children count] to 30 | |
(void) | - incCount |
(void) | - incCountOfLeaves |
Protected Attributes | |
NSMutableArray * | children |
Properties | |
NSString * | word |
NSArray * | children |
Node * | parent |
NSUInteger | count |
NSUInteger | countOfLeaves |
BOOL | hasPointAsParent |
CGPoint | pos |
Starting position for B-Spline connecting this node and his children. |
- (void) addChild: | (Node*) | node |
- (void) incCount |
- (void) incCountOfLeaves |
- (id) initWithString: | (NSString*) | aWord |
- (void) sortArrays |
sorts this nodes children according to their countOfLeaves. Limits [children count] to 30
- (NSMutableArray*) children [protected] |
- (NSArray*) children [read, assign] |
- (NSUInteger) count [read, assign] |
- (NSUInteger) countOfLeaves [read, assign] |
- (BOOL) hasPointAsParent [read, write, assign] |
- (Node *) parent [read, write, retain] |
- (CGPoint) pos [read, write, assign] |
Starting position for B-Spline connecting this node and his children.
- (NSString *) word [read, assign] |