[Previous] [Up] [Next]

NSText

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSText

NSText

Declared in: Gui/NSText.h

Inherits from: NSView

Conforms to: NSChangeSpelling



alignCenter:

- (void) alignCenter: (id)sender

alignLeft:

- (void) alignLeft: (id)sender

alignRight:

- (void) alignRight: (id)sender

alignment

- (NSTextAlignment) alignment

backgroundColor

- (NSColor*) backgroundColor

changeFont:

- (void) changeFont: (id)sender

checkSpelling:

- (void) checkSpelling: (id)sender

copy:

- (void) copy: (id)sender

copyFont:

- (void) copyFont: (id)sender

copyRuler:

- (void) copyRuler: (id)sender

cut:

- (void) cut: (id)sender

delegate

- (id) delegate

delete:

- (void) delete: (id)sender

drawsBackground

- (BOOL) drawsBackground

font

- (NSFont*) font

importsGraphics

- (BOOL) importsGraphics

initWithFrame:

- (id) initWithFrame: (NSRect)frameRect

isEditable

- (BOOL) isEditable

isFieldEditor

- (BOOL) isFieldEditor

isHorizontallyResizable

- (BOOL) isHorizontallyResizable

isRichText

- (BOOL) isRichText

isRulerVisible

- (BOOL) isRulerVisible

isSelectable

- (BOOL) isSelectable

isVerticallyResizable

- (BOOL) isVerticallyResizable

maxSize

- (NSSize) maxSize

minSize

- (NSSize) minSize

paste:

- (void) paste: (id)sender

pasteFont:

- (void) pasteFont: (id)sender

pasteRuler:

- (void) pasteRuler: (id)sender

readRTFDFromFile:

- (BOOL) readRTFDFromFile: (NSString*)path

replaceCharactersInRange:withRTF:

- (void) replaceCharactersInRange: (NSRange)aRange withRTF: (NSData*)rtfData

replaceCharactersInRange:withRTFD:

- (void) replaceCharactersInRange: (NSRange)aRange withRTFD: (NSData*)rtfdData

replaceCharactersInRange:withString:

- (void) replaceCharactersInRange: (NSRange)aRange withString: (NSString*)aString

RTFDFromRange:

- (NSData*) RTFDFromRange: (NSRange)aRange

scrollRangeToVisible:

- (void) scrollRangeToVisible: (NSRange)aRange

selectAll:

- (void) selectAll: (id)sender

selectedRange

- (NSRange) selectedRange

setAlignment:

- (void) setAlignment: (NSTextAlignment)mode

setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)aColor

setDelegate:

- (void) setDelegate: (id)anObject

setDrawsBackground:

- (void) setDrawsBackground: (BOOL)flag

setEditable:

- (void) setEditable: (BOOL)flag

setFieldEditor:

- (void) setFieldEditor: (BOOL)flag

setFont:

- (void) setFont: (NSFont*)aFont

setFont:

- (void) setFont: (NSFont*)aFont

setHorizontallyResizable:

- (void) setHorizontallyResizable: (BOOL)flag

setImportsGraphics:

- (void) setImportsGraphics: (BOOL)flag

setMaxSize:

- (void) setMaxSize: (NSSize)aSize

setMinSize:

- (void) setMinSize: (NSSize)aSize

setRichText:

- (void) setRichText: (BOOL)flag

setSelectable:

- (void) setSelectable: (BOOL)flag

setSelectedRange:

- (void) setSelectedRange: (NSRange)aRange

setString:

- (void) setString: (NSString*)aString

setTextColor:

- (void) setTextColor: (NSColor*)aColor

setTextColor:

- (void) setTextColor: (NSColor*)aColor

setUsesFontPanel:

- (void) setUsesFontPanel: (BOOL)flag

setVerticallyResizable:

- (void) setVerticallyResizable: (BOOL)flag

showGuessPanel:

- (void) showGuessPanel: (id)sender

sizeToFit

- (void) sizeToFit

string

- (NSString*) string

subscript:

- (void) subscript: (id)sender

superscript:

- (void) superscript: (id)sender

textColor

- (NSColor*) textColor

toggleRuler:

- (void) toggleRuler: (id)sender

underline:

- (void) underline: (id)sender

unscript:

- (void) unscript: (id)sender

usesFontPanel

- (BOOL) usesFontPanel

writeRTFDToFile:atomically:

- (BOOL) writeRTFDToFile: (NSString*)path atomically: (BOOL)atomicFlag

textDidBeginEditing:

- (void) textDidBeginEditing: (NSNotification*)aNotification

textDidChange:

- (void) textDidChange: (NSNotification*)aNotification

textDidEndEditing:

- (void) textDidEndEditing: (NSNotification*)aNotification

textShouldBeginEditing:

- (BOOL) textShouldBeginEditing: (NSText*)aTextObject

textShouldEndEditing:

- (BOOL) textShouldEndEditing: (NSText*)aTextObject