BTextView Class Summary


Method Summary

Method Description
AcceptsDrop() Tests whether the drop message is acceptable
AcceptsPaste() Tests whether the paste message is acceptable
Alignment() Returns the alignment of the text in the view
AllowChar() Tests whether BTextView accepts a given character
Archive() Archives the BTextView into a BMessage
AttachedToWindow() Provided for implementation
ByteAt() Returns the byte at a given offset in the text
CanEndLine() Tests whether a character can end a line of text
Clear() Removes the selected text
ColorSpace() Returns the color space of the offscreen rendering bitmap
Copy() Copies selected text to the clipboard
CountLines() Counts the lines in the BTextView
CurrentLine() Returns the current line
Cut() Moves selected text to the clipboard
Delete() Removes characters from the BTextView
DeleteText() Hook called to remove text from the object
DetachedFromWindow() Provided for implementation
DisallowChar() Instruct BTextView to reject a given character
DoesAutoindent() Tests whether autoindent is enabled
DoesUndo() Tests whether undo is enabled
DoesWordWrap() Tests whether word wrap is enabled
Draw() Provided for implementation
FindWord() Look for a word
FlattenRunArray() Flattens a text_run_array structure
FrameResized() Provided for implementation
GetDragParameters() Hook called when a drag session is initiated
GetFontAndColor() Returns the font and color used to display the text
GetSelection() Returns the current selection
GetText() Returns a run of text in the object
GetTextRegion() Returns the region containing a given run of characters
GoToLine() Moves insertion point to a given line
Highlight() Highlights the given run of characters
Insert() Inserts characters into the BTextView
InsertText() Hook called to add text to the object
Instantiate() Creates a BTextView from a BMessage
IsEditable() Tests whether the text is editable
IsResizable() Tests if the object can automatically resize itself
IsSelectable() Tests whether the user can select text in the view
IsStylable() Returns whether or not the view accepts multiple character formats
KeyDown() Provided for implementation
LineAt() Returns the line number of a given character
LineHeight() Returns the height of a given line
LineWidth() Returns the width of a given line
MakeEditable() Makes the text editable or uneditable
MakeFocus() Provided for implementation
MakeResizable() Sets object's ability to automatically resize itself
MakeSelectable() Sets whether or not the user can select text in the view
MaxBytes() Returns the maximum number of bytes the view can accept
MouseDown() Provided for implementation
MouseMoved() Provided for implementation
OffsetAt() Returns the text offset of a given line or coordinate location
Paste() Copies selected text from the clipboard
PointAt() Returns the coordinate location of a given character
Pulse() Provided for implementation
ResolveSpecifier() Provided for implementation
RunArray() Returns the font and color formats for a given run of characters
ScrollToOffset() Scrolls the text to a given character
ScrollToSelection() Scrolls the text to the selection
SelectAll() Selects all the text in the view
Select() Selects a given run of characters
SetAlignment() Sets the alignment of the text in the view
SetAutoindent() Enables or disables autoindent
SetColorSpace() Sets the color space of the offscreen rendering bitmap
SetDoesUndo() Enables or disables undo
SetFontAndColor() Sets the font and color used to display the text
SetMaxBytes() Sets the maximum number of bytes the view can accept
SetRunArray() Sets the font and color formats for a given run of characters
SetStylable() Sets whether or not the view accepts multiple character formats
SetTabWidth() Sets the distance between tab stops
SetText() Replaces text in the view
SetTextRect() Sets the text rectangle
SetWordWrap() Enables or disables word wrap
TabWidth() Returns the distance between tab stops
Text() Returns all the text in the object
TextHeight() Returns the height of a run of lines
TextLength() Returns the number of bytes of text in the object
TextRect() Returns the text rectangle
BTextView() Constructor
~BTextView() Destructor
Undo() Undoes the previous action
UndoState() Returns information about the previous action
UnflattenRunArray() Unflattens a text_run_array structure
WindowActivated() Provided for implementation





The Be Book, in lovely HTML, for BeOS Release 4.

Copyright © 1998 Be, Inc. All rights reserved.

Last modified January 4, 1999.