Go to the documentation of this file.00001
00005 #import <Cocoa/Cocoa.h>
00006 #import "FlowLayer.h"
00007 #import "TransferNode.h"
00008
00009 @interface ColorCodingLayer : FlowLayer {
00010
00011 NSMutableArray *colors;
00012
00013 int width;
00014 int height;
00015 }
00016
00020 @property (retain) NSMutableArray *colors;
00021
00025 @property int width;
00026
00030 @property int height;
00031
00038 - (void)setWidth:(int)_width height:(int)_height;
00039
00046 - (void)insertNode:(TransferNode *)node atIndex:(int)index;
00047
00053 - (NSColor *)colorAtIndex:(int)index;
00054
00060 - (int)numberofColors;
00061
00067 - (TransferNode *)nodeAtIndex:(int)index;
00068
00074 - (void)removeNodeAtIndex:(int)index;
00075
00076 @end