00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <Cocoa/Cocoa.h>
00010 #import <HexFiend/HFController.h>
00011
00012 @class HFLayoutRepresenter;
00013
00019 @interface HFTextView : NSControl {
00020 HFController *dataController;
00021 HFLayoutRepresenter *layoutRepresenter;
00022 NSArray *backgroundColors;
00023 BOOL bordered;
00024 IBOutlet id delegate;
00025 NSData *cachedData;
00026 }
00027
00032 - (HFLayoutRepresenter *)layoutRepresenter;
00033
00035 - (HFController *)controller;
00036
00038 - (HFByteArray *)byteArray;
00039
00041
00046 - (void)setBackgroundColors:(NSArray *)colors;
00047
00049 - (NSArray *)backgroundColors;
00050
00052 - (void)setBordered:(BOOL)val;
00053
00055 - (BOOL)bordered;
00057
00062 - (void)setDelegate:(id)delegate;
00063
00065 - (id)delegate;
00067
00075 - (NSData *)data;
00076
00079 - (void)setData:(NSData *)data;
00081
00082 @end
00083
00087 @protocol HFTextViewDelegate <NSObject>
00088
00090 - (void)hexTextView:(HFTextView *)view didChangeProperties:(HFControllerPropertyBits)properties;
00091
00092 @end