HFTextField Class Reference
[High Level]

A high-level view class that is analagous to NSTextField. More...

List of all members.

Public Member Functions

(BOOL) - usesHexArea
(void) - setUsesHexArea:
(BOOL) - usesTextArea
(void) - setUsesTextArea:
(void) - setStringEncoding:
(NSStringEncoding) - stringEncoding
(void) - setEditable:
(BOOL) - isEditable


Detailed Description

HFTextField encapsulates a HFController and HFRepresenters into a single "do it all" NSControl analagous to NSTextField. Its objectValue is an HFByteArray. It sends its action to its target when the user hits return. It has no control.

An HFTextField can be configured to show a hexadecimal view, an ASCII (really the defaultCStringEncoding) view, or both.

This class is currently missing a fair amount of functionality, such as enabled state.


Member Function Documentation

- (BOOL) usesHexArea  

Returns whether the hexadecimal view is shown.

- (void) setUsesHexArea: (BOOL)  val  

Sets whether the hexadecimal view is shown.

- (BOOL) usesTextArea  

Returns whether the text area is shown.

- (void) setUsesTextArea: (BOOL)  val  

Sets whether the text area is shown.

- (void) setStringEncoding: (NSStringEncoding)  encoding  

Sets the string encoding used by the text area.

- (NSStringEncoding) stringEncoding  

Gets the string encoding used by the text area.

- (void) setEditable: (BOOL)  flag  

Sets editability.

- (BOOL) isEditable  

Returns editability.


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

Generated on Thu Dec 8 10:06:35 2011 for HexFiend by  doxygen 1.5.9