00001
00002
00003
00004
00005
00006
00007
00008 #import <Cocoa/Cocoa.h>
00009
00010 @class HFLayoutRepresenter, HFRepresenter, HFController, HFHexTextRepresenter, HFStringEncodingTextRepresenter;
00011
00022 @interface HFTextField : NSControl {
00023 HFController *dataController;
00024 HFLayoutRepresenter *layoutRepresenter;
00025 HFHexTextRepresenter *hexRepresenter;
00026 HFStringEncodingTextRepresenter *textRepresenter;
00027 IBOutlet id target;
00028 SEL action;
00029 }
00030
00032 - (BOOL)usesHexArea;
00033
00035 - (void)setUsesHexArea:(BOOL)val;
00036
00038 - (BOOL)usesTextArea;
00039
00041 - (void)setUsesTextArea:(BOOL)val;
00042
00044 - (void)setStringEncoding:(NSStringEncoding)encoding;
00045
00047 - (NSStringEncoding)stringEncoding;
00048
00050 - (void)setEditable:(BOOL)flag;
00051
00053 - (BOOL)isEditable;
00054
00055 @end