Accessors for class IlvAbstractView

Properties

Methods

Description

This is an abstract class. Instances can therefore be created only from subtypes of this class. Objects of the IlvAbstractView class and its derived subclasses give rise to actual windows or views that are displayed on your screen. A view is a visual place holder-a rectangular object on your screen-to display elements of an application. A window on the screen is an associated set of one or several views.
Every view is distinguished by its location (x, y coordinates), size (height and width), and visibility (a view can be visible or not).

TypeNameDescriptionNotes
ColorbackgroundReturns the color of this window. This color is used when the window must be erased.
Changes the background color of this window.
BitmapbackgroundBitmapReturns the background bitmap currently set in the view.
Sets the background bitmap of this view. The bitmap provided (if it is not null) is locked. The previous bitmap, if there was one, is unlocked. If the bitmap provided is null, the background color is set.

Windows 95 can only handle bitmaps with a size of 8x8.

IlvRectboundingBoxReturns the geometry of the window, that is, its position and size relative to the parent view.
VoidensurePointVisible(IlvPoint position)Void ensurePointVisible(IlvPoint position)
VoidensureRectVisible(IlvRect area)These methods make sure that the given point position, or the full rectangle area, is visible to the user. This is meaningful only if scrolled is true, that is, if this object is scrolled in a system scrolling view. The parent scrolling view takes care of its subwindow displacement to guarantee the visibility of position or area.
If the area argument represents a bigger rectangle than the scrolling window is able to display, then the subwindow is centered in the scrolling region on the center of area. That is, the center of area is moved to the center of the scrolling window, but the boundaries of area are not visible.
IlvRectglobalBBoxReturns the geometry of this window relative to the upper left corner of the whole screen.
BooleangrabReturns true if this view has the display grab.
UIntheightReturns the height of the view.
Voidlower()Puts this view object below any other view on the screen. This is meaningful only if this view is a top-window.
Voidmove(IlvPoint position)Moves the upper left corner of the window to the position given by the position parameter in the parent window of this object.
Voidraise()Puts this view object on top of any other view on the screen. This is meaningful only if this view is a top-window.
Voidresize(UInt width, UInt height)Changes the window size to the new dimensions width and height.
BooleanscrolledReturns true if this window is the subwindow of a system scrolling window. Scrolling windows own a single subwindow, from which they display only a rectangular region. This allows you to manipulate bigger windows than your screen can display, and navigate within these by means of a smaller rectangular area.
BooleansensitiveReturns the current behavior of this window concerning the event that may occur within its frame. If false is returned, no keyboard or pointing device events are received by this object. The window is said to be sensitive if it can receive these events and sensitive returns true.
Changes the sensitivity of the window. It becomes sensitive if sensitive is set to true. If sensitive is set to false, none of the input events can reach the window.
IlvRectsizeVisibleReturns the visible rectangle of this window. This return value is meaningful only if this object is the subwindow of a scrolling window (that is, it has a hidden area because of the view hierarchy). If this is not the case, sizeVisible has the same meaning as boundingBox.
UIntwidthReturns the width of the view.
IntxReturns the left position of the view.
IntyReturns the top position of the view.