background image
<< Class Hierarchy - The class hierarchy | Class Hierarchy - Adding methods to a class >>
Class Hierarchy - Logical classes
<< Class Hierarchy - The class hierarchy | Class Hierarchy - Adding methods to a class >>
User's Guide
305
16 E
XTENDING
THE
C
LASS
H
IERARCHY
The class hierarchy
The inheritance
embodied in the class
hierarchy
The inheritance depicted in the class hierarchy diagram can be summarized
as follows:
Logical classes
The AnyWin, Control, and MoveableWin classes are logical (virtual) classes
that do not correspond to any actual GUI objects, but instead define methods
common to the classes that derive from them. This means that SilkTest never
records a declaration that has one of these classes.
CursorClass,
ClipboardClass, and
AgentClass
There are three classes that are not part of the AnyWin class hierarchy,
because they define methods for objects that are not windows:
·
CursorClass, which defines the three methods you can use on the cursor:
GetPosition, GetType, and Wait.
·
ClipboardClass, which defines the two methods you can use on the
system clipboard: GetText and SetText.
This class
Defines the methods common to
AnyWin
Any type of GUI object.
BrowserChild
The window that contains the contents of a Web page.
Control
Check boxes, combo boxes, list boxes, popup lists,
pushbuttons, radio lists, scales, scroll bars, static text
(labels), text fields, and so on.
CustomWin
Does not apply.
Assigned to objects that do not correspond to any class
in the built-in class hierarchy. Because the CustomWin
class derives from the AnyWin class, you can use the
primitive methods of the AnyWin class, like PressKeys,
to define higher level actions to perform on your
custom GUI objects.
DesktopWin
The desktop.
GuptaTable Gupta
tables.
HtmlColumn
A column within an HtmlTable in a Web application.
HtmlTable
A series of two or more columns in a Web application.
Menu
Apple menus, help menus, menu items, popup menus,
and system menus.
MoveableWin
Child windows (free-standing windows, including MDI
sheets) dialog boxes, message boxes, and the
application's main window.
TaskbarWin
The taskbar in Windows 95 or Windows NT 4.0.