BView Class Summary


Method Summary

Method Description
AddChild() Adds a child view to the view hierarchy
AddLine() Adds a line to the line array
AllAttached() Hook called when all the views have been attached to a window
AllDetached() Hook called after all views have been detached from the window
AppendToPicture() Begins recording a picture, appending to an existing BPicture
AttachedToWindow() Hook called when the view is attached to a window
BeginLineArray() Begins a line array
BeginPicture() Begins recording a new picture
BeginRectTracking() Begins tracking the cursor
Bounds() Returns the bounds rectangle
ChildAt() Returns a given child view
ClearViewBitmap() Clears the background view bitmap
ConstrainClippingRegion() Restricts the area in which the view can draw
ConvertFromParent() Converts local coordinates of parent to local coordinates of view
ConvertFromScreen() Converts screen coordinates to local coordinates of view
ConvertToParent() Converts local coordinates of view to local coordinates of parent
ConvertToScreen() Converts local coordinates of view to screen coordinates
CopyBits() Copies image from one part of view to another
CountChildren() Returns the number of child views
DetachedFromWindow() Hook called when the view is detached from the window
DragMessage() Initiates a drag-and-drop session
Draw() Hook to update the view
DrawBitmapAsync() Draws a BBitmap in the view (asynchronous)
DrawBitmap() Draws a BBitmap in the view (synchronous)
DrawChar() Draws a character in the view
DrawPicture() Renders a BPicture in the view
DrawString() Draws a string in the view
DrawingMode() Returns the drawing mode
EndLineArray() Ends the line array
EndPicture() Ends recording a picture
EndRectTracking() Ends tracking the cursor
FillArc() Fills a region defined by the path of an arc
FillBezier() Fills a region defined by a third degree Bezier curve
FillEllipse() Fills an ellipse
FillPolygon() Fills a polygon
FillRect() Fills a rectangle
FillRegion() Fills a region with a given pattern
FillRoundRect() Fills a rounded rectangle
FillTriangle() Fills a triangle
FindView() Finds a named child view
Flags() Returns the notification flags
Flush() Flushes drawing queue, returning immediately
Frame() Returns the frame rectangle of the view
FrameMoved() Hook called when the view moves within its parent's coordinate system
FrameResized() Hook called when the view frame is resized
GetClippingRegion() Returns the local clipping region of the BView
GetFont() Returns the current font
GetFontHeight() Returns the height of the current font
GetMouse() Returns the location of the cursor and the mouse button state
GetPreferredSize() Hook returning the preferred size of the view
GetStringWidths() Returns the amounts required to display a set of strings
GetSupportedSuites() Provided for implementation
Hide() Hides a view
HighColor() Returns the current high color for the view
Instantiate() Creates a BView from a BMessage
Invalidate() Invalidates a portion of the view
InvertRect() Inverts the colors of a rectangle in the view
IsFocus() Tests whether the view is the current focus view for the window
IsHidden() Tests whether the view is hidden
IsPrinting() Tests whether the view output is destined for the printer
KeyDown() Hook called in response to a B_KEY_DOWN message
KeyUp() Hook called in response to a B_KEY_UP message
LeftTop() Returns coordinates of the left top corner of the view
LineCapMode() Returns the current line cap mode
LineJoinMode() Returns the current line join mode
LineMiterLimit() Returns the current miter limit
LowColor() Returns the current low color for the view
MakeFocus() Sets the focus status for the view
MessageReceived() Provided for implementation
MouseDown() Hook called in response to a B_MOUSE_DOWN message
MouseMoved() Hook called in response to a B_MOUSE_MOVED message
MouseUp() Currently unimplemented
MoveBy() Moves the view within the parent's coordinate system
MovePenBy() Moves the pen location
MovePenTo() Sets the pen location
MoveTo() Moves the view to a given point in the parent's coordinate system
NextSibling() Returns the next sibling in the chain
Origin() Returns the local origin
Parent() Returns the parent view
PenLocation() Returns the pen location
PenSize() Returns the pen size
PopState() Restore the graphics context from the state stack
PreviousSibling() Returns the previous sibling in the chain
Pulse() Hook called at regular intervals
PushState() Saves the graphics context on the state stack
RemoveChild() Removes a child view from the view hierarchy
RemoveSelf() Removes the view from the parent
ResizeBy() Resize the view by a given amount
ResizeTo() Resize the view to a given size
ResizeToPreferred() Resizes frame to the preferred size
ResizingMode() Returns the resizing size
ResolveSpecifier() Provided for implementation
ScrollBar() Returns the scroll bar of the given orientation targetting the view
ScrollBy() Scroll the view by a given amount
ScrollTo() Scroll the view to a given position
SetDiskMode() Returns the drawing mode
SetDrawingMode() Sets the drawing mode
SetFlags() Sets the notification flags
SetFont() Sets the current font
SetFontSize() Sets the current font size
SetHighColor() Sets the current high color for the view
SetLineMode() Sets the current line mode
SetLowColor() Sets the current low color for the view
SetOrigin() Sets the local origin
SetPenSize() Sets the pen size
SetResizingMode() Sets the resizing size
SetScale() Sets the local scale of the coordinate system
SetViewBitmap() Sets the background view bitmap
SetViewColor() Sets the background view color
Show() Displays a view
StringWidth() Returns the amount required to display a string
StrokeArc() Draws a line along the path of an arc
StrokeBezier() Draws a third degree Bezier curve
StrokeEllipse() Draws a line along the path of an ellipse
StrokeLine() Draws a line
StrokePolygon() Draws a line along the edges of a polygon
StrokeRect() Draws a line along the edges of a rectangle
StrokeRoundRect() Draws a line along a rounded rectangle
StrokeTriangle() Draws a line along the edges of a triangle
Sync() Flushes drawing queue, returning when operations have completed
TargetedByScrollView() Hook called when the view becomes targetted by a BScrollView
BView() Constructor
~BView() Destructor
ViewColor() Returns the background view color
WindowActivated() Hook called when the parent window is activated or deactivated
Window() Returns the window to which the BView is attached





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

Copyright © 1998 Be, Inc. All rights reserved.

Last modified December 23, 1998.