
Public Member Functions | |
| (NSArray *) | - rowBackgroundColors |
| (void) | - setRowBackgroundColors: |
| (void) | - setBehavesAsTextField: |
| (BOOL) | - behavesAsTextField |
Most of the functionality of HFTextRepresenter is private, and there is not yet enough exposed to allow creating new representers based on it. However, there is a small amount of configurability.
| - (NSArray *) rowBackgroundColors |
Returns the per-row background colors. The default is -[NSControl controlAlternatingRowBackgroundColors].
| - (void) setRowBackgroundColors: | (NSArray *) | colors |
Sets the per-row background colors. Each row is drawn with the next color in turn, cycling back to the beginning when the array is exhausted. Any empty space is filled with the first color in the array. If the array is empty, then the background is drawn with clearColor.
| - (void) setBehavesAsTextField: | (BOOL) | val |
Set whether the text view behaves like a text field (YES) or a text view (NO). Currently this determines whether it draws a focus ring when it is the first responder.
| - (BOOL) behavesAsTextField |
Returns whether the text view behaves like a text field (YES) or a text view (NO).
1.5.9