|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester Proxy SDK Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.sys.RegisteredObject
com.rational.test.ft.domain.ProxyTestObject
com.rational.test.ft.domain.java.JavaProxy
com.rational.test.ft.domain.java.JavaGuiProxy
com.rational.test.ft.domain.java.awt.ComponentProxy
com.rational.test.ft.domain.java.awt.TopLevelWindowProxy
public abstract class TopLevelWindowProxy
Base proxy class for java.awt.Frame & java.awt.Window.
GuiTestObject
| Property | Usage |
|---|---|
| .class | The Java full class name of the test object. |
| .classIndex | The zero-based index of the class relative to the immediate parent in the object map. |
| .priorLabel | The text of a preceding label. Suppressed if there is no preceding label. |
| name | The name property, suppressed if default formatted (default form = className+count). |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
ComponentProxy.ChildEnumerator, ComponentProxy.ImmediateChildEnumerator |
| Field Summary | |
|---|---|
static java.lang.String |
CAPTION
|
| Fields inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
childrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, MAX_NAME, NAMEPROPERTY, NAMEPROPERTYWEIGHT, PRIORLABEL, PRIORLABELWEIGHT |
| Fields inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
|---|
LEFT, preDownState, processMouseEventHandler, ROLEINDEX, ROLEINDEXWEIGHT, TESTDATA_SPECIALFRAMESTATE, TESTDATA_SPECIALFRAMESTATE_DESCRIPTION, topLevelWindow |
| Fields inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
debug, uniqueId |
| Fields inherited from class com.rational.test.ft.sys.RegisteredObject |
|---|
theTestObject |
| Fields inherited from interface com.rational.test.ft.object.interfaces.ITopWindow |
|---|
INPUTCHARS_METHOD, INPUTKEYS_METHOD |
| Fields inherited from interface com.rational.test.ft.domain.IDataDriven |
|---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
| Constructor Summary | |
|---|---|
TopLevelWindowProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
|
| Method Summary | |
|---|---|
void |
activate()
This method causes the associated window control to become the active window, if possible. |
void |
clickDisabled()
All actions performed against an inactive window will be recorded as a call to this method. |
void |
close()
This method closes the associated window. |
void |
contextHelp()
Activate the context-sensitive Help |
protected abstract com.rational.test.ft.script.CaptionText |
getCaption()
Returns the Title for the Frame object. |
java.awt.Rectangle |
getClippedScreenRectangle()
Returns the clipped-screen rectangle for the associated TestObject |
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
long |
getHandle()
Get the top-level window associated with this frame and return its native handle. |
java.awt.Rectangle |
getScreenRectangle()
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
com.rational.test.ft.script.ScriptCommandFlags |
getScriptCommandFlags()
This method returns an active state value that reflects the state of the test object at the time of the call. |
protected com.rational.test.ft.sys.graphical.TopLevelWindow |
getTopLevelWindow()
Get the top-level window associated with this Frame. |
java.awt.Rectangle |
getVisualClippedRectangle()
The optimized way to obtain the ClippedRectangle. |
void |
inputChars(java.lang.String keys)
This method sends the supplied characters to the associated window. |
void |
inputKeys(java.lang.String keys)
This method sends the supplied characters to the associated window. |
boolean |
isIconified()
Provides access to the iconified state of the frame |
protected boolean |
isTopLevel()
Is this Frame a top-level window? |
void |
maximize()
This method maximizes the associated window. |
void |
minimize()
This method iconifies the associated window. |
void |
move(java.awt.Point screenPt)
Moves the frame to the specified location within parent. |
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
void |
resize(int width,
int height)
Resizes the frame to the specified width and height. |
void |
restore()
This method restores the associated window. |
| Methods inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
canBeScrolled, childConstructed, getChildAtPoint, getChildProxy, getChildrenEnumeration, getClippedRect, getComponentChildren, getEmbeddedBrowsers, getImmediateChildren, getLabelText, getLeadingLabel, getLocationOnScreen, getMappableChildren, getMappableParent, getName, getOwnedObjects, getOwner, getParent, getParent2, getParentObject, getProperty, getRole, getTopParent, getWindow, hasFocus, isDopeyDynamicName, isEnabled, isHScroll, isLabelled, isOpaque, isRecognitionProperty, isShowing, isVScroll, setParent |
| Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMethods, getNonValueProperties, getProperties, getRecognitionProperties, getRecognitionPropertyWeight, getStandardProperties, getTestDataTypes, getTestDomain, getTopMappableParent, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, setIndexer, setProperty |
| Methods inherited from class com.rational.test.ft.sys.RegisteredObject |
|---|
addProxyReference, dereference, getObject, getRegisteredId, getTransactionId, isReferenced, isReleaseRequired, register, registerTransiently, release, toString, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphical |
|---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getScreenPoint, getScreenPoint, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
| Field Detail |
|---|
public static final java.lang.String CAPTION
| Constructor Detail |
|---|
public TopLevelWindowProxy(java.lang.Object theObjectInTheSUT)
| Method Detail |
|---|
protected boolean isTopLevel()
protected abstract com.rational.test.ft.script.CaptionText getCaption()
public java.lang.String getDescriptiveName()
getDescriptiveName in class ComponentProxypublic com.rational.test.ft.script.ScriptCommandFlags getScriptCommandFlags()
JavaGuiProxy
getScriptCommandFlags in class JavaGuiProxypublic void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent in class JavaGuiProxyaction - The event cache and other mouse state information
for this mouse action.MethodSpecificationpublic void inputKeys(java.lang.String keys)
inputKeys in interface com.rational.test.ft.object.interfaces.ITopWindowkeys - The characters to be processed by this window.public void inputChars(java.lang.String keys)
inputChars in interface com.rational.test.ft.object.interfaces.ITopWindowkeys - The characters to be processed by this window.public void activate()
activate in interface com.rational.test.ft.object.interfaces.ITopWindowpublic void close()
close in interface com.rational.test.ft.object.interfaces.IFramepublic void maximize()
maximize in interface com.rational.test.ft.object.interfaces.IFramepublic void minimize()
minimize in interface com.rational.test.ft.object.interfaces.IFramepublic void restore()
restore in interface com.rational.test.ft.object.interfaces.IFrame
public void resize(int width,
int height)
com.rational.test.ft.object.interfaces.IFrame
resize in interface com.rational.test.ft.object.interfaces.IFramewidth - The new width in pixels sizeheight - The new height in pixel sizepublic void move(java.awt.Point screenPt)
com.rational.test.ft.object.interfaces.IFrame
move in interface com.rational.test.ft.object.interfaces.IFramescreenPt - The point specified in java.awt.Point to move the applicationpublic boolean isIconified()
com.rational.test.ft.object.interfaces.IFrame
isIconified in interface com.rational.test.ft.object.interfaces.IFramepublic void contextHelp()
com.rational.test.ft.object.interfaces.IFrame
contextHelp in interface com.rational.test.ft.object.interfaces.IFramepublic void clickDisabled()
clickDisabled in interface com.rational.test.ft.object.interfaces.ITopWindowpublic long getHandle()
protected com.rational.test.ft.sys.graphical.TopLevelWindow getTopLevelWindow()
public java.awt.Rectangle getScreenRectangle()
ComponentProxy
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalgetScreenRectangle in class ComponentProxyIGraphical.isPointInObject(java.awt.Point),
IGraphical.getClippedScreenRectangle()public java.awt.Rectangle getClippedScreenRectangle()
com.rational.test.ft.object.interfaces.IGraphicalTestObject
getClippedScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalgetClippedScreenRectangle in class JavaGuiProxynull if the object cannot be seen
in any window on the screen.IGraphical.getScreenRectangle()public java.awt.Rectangle getVisualClippedRectangle()
ProxyTestObject
getVisualClippedRectangle in class ProxyTestObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||