|
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.Object com.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.swt.ControlProxy com.rational.test.ft.domain.java.swt.ShellProxy
public class ShellProxy
This is the proxy class for org.eclipse.swt.widgets.Shell
.
TopLevelTestObject
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. |
.groupText | The text of a group parent. Only available if parent is a group. Omitted if the group parent has no visible text. |
.toolTipText | The text from the associated tool tip, omitted if there is no associated tool tip. |
.captionText | The visible text on the window titlebar. |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
---|
ControlProxy.ChildEnumerator, ControlProxy.ImmediateChildEnumerator |
Field Summary | |
---|---|
protected static java.lang.String |
CAPTION
|
static java.lang.String |
INPUTKEYS_METHOD
The name of the inputKeys method. |
Fields inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
---|
childrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, clickArgs, currentMethod, GROUPTEXT, GROUPTEXTWEIGHT, HANDLE, MAPPABLECLASSINDEX, MAPPABLECLASSINDEXWEIGHT, MAX_NAME, predownScreenRect, PRIORLABEL, PRIORLABELWEIGHT, TOOLTIPTEXT, TOOLTIPTEXTWEIGHT |
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 |
Fields inherited from interface com.rational.test.ft.domain.IDataDriven |
---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
Constructor Summary | |
---|---|
ShellProxy(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()
Click on a window that is disabled or waiting on the modal dialog. |
void |
close()
This method closes the associated window. |
void |
contextHelp()
Activate the context-sensitive Help |
protected com.rational.test.ft.script.CaptionText |
getCaption()
Returns the Title for the Frame object. |
java.util.Enumeration |
getChildrenEnumeration()
Returns a proxy object for the owner of this object. |
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
ProxyTestObject |
getEclipsePlatformObject()
|
long |
getHandle()
Get the value for the handle field. |
java.util.Enumeration |
getImmediateChildren()
Return an enumeration of proxies for the immediate children of this object. |
ProxyTestObject |
getMenuBar()
Return the menu bar associated with this frame. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_FRAME . |
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. |
java.lang.String |
getTestObjectClassName()
Returns the classname of a top level gui test object. |
java.lang.String |
getText()
|
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 |
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.swt.ControlProxy |
---|
childConstructed, getActionArgs, getChannel, getChildProxy, getClippedScreenRectangle, getDefaultActionArgs, getLabelText, getLeadingLabel, getLocationOnScreen, getMappableParent, getName, getOwnedObjects, getOwner, getParent, getParentObject, getReorderedChildren, getStyle, getToolTipText, getTopMappableParent, getTopParent, getVisualClippedRectangle, hasFocus, isEnabled, isGTK, isLabelled, isObjectMoved, isShell, isShowing, processHoverMouseEvent, processPreDownMouseEvent, processPreUpMouseEvent, scrollRectToVisible, setClickArgs, setDownPointArgs, setDrag, setMethodSpecification, setMultiClickAction, setRecordCache |
Methods inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
---|
activateTopWindow, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dumpAction, ensureObjectIsVisible, getActionRect, getCachedRectX, getCachedRectY, getChildAtPoint, getClippedRect, getMethodSpecForPoint, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, isDrag, isOpaque, isPointInObject, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, processMouseEvent, setProcessMouseEventHandler, setTopLevelWindow, shouldBeMapped |
Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMappableChildren, getMethods, getNonValueProperties, getProperties, getRecognitionProperties, getRecognitionPropertyWeight, getStandardProperties, getTestDataTypes, getTestDomain, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, isRecognitionProperty, 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, getClippedScreenRectangle, getScreenPoint, getScreenPoint, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
Field Detail |
---|
protected static final java.lang.String CAPTION
public static final java.lang.String INPUTKEYS_METHOD
Constructor Detail |
---|
public ShellProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getRole()
TestObjectRole.ROLE_FRAME
.
getRole
in class ControlProxy
public java.lang.String getDescriptiveName()
getDescriptiveName
in class ControlProxy
public void inputKeys(java.lang.String keys)
inputKeys
in interface com.rational.test.ft.object.interfaces.ITopWindow
keys
- The characters to be processed by this window.public void inputChars(java.lang.String keys)
inputChars
in interface com.rational.test.ft.object.interfaces.ITopWindow
keys
- The characters to be processed by this window.public void activate()
activate
in interface com.rational.test.ft.object.interfaces.ITopWindow
public void close()
close
in interface com.rational.test.ft.object.interfaces.IFrame
public void maximize()
maximize
in interface com.rational.test.ft.object.interfaces.IFrame
public void minimize()
minimize
in interface com.rational.test.ft.object.interfaces.IFrame
public void restore()
restore
in interface com.rational.test.ft.object.interfaces.IFrame
public boolean isIconified()
com.rational.test.ft.object.interfaces.IFrame
isIconified
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.IFrame
width
- 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.IFrame
screenPt
- The point specified in java.awt.Point to move the applicationpublic void contextHelp()
com.rational.test.ft.object.interfaces.IFrame
contextHelp
in interface com.rational.test.ft.object.interfaces.IFrame
public void clickDisabled()
com.rational.test.ft.object.interfaces.ITopWindow
clickDisabled
in interface com.rational.test.ft.object.interfaces.ITopWindow
protected com.rational.test.ft.script.CaptionText getCaption()
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in class ControlProxy
propertyName
- The name of the property to fetch.
ProxyTestObject.getProperties()
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getRecognitionProperties()
,
ProxyTestObject.addRecognitionProperty(String,Object,int)
public java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class JavaGuiProxy
public java.lang.String getText()
public ProxyTestObject getMenuBar()
null
should be returned.
getMenuBar
in interface IMenuBarHost
public java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration
in class ControlProxy
public java.util.Enumeration getImmediateChildren()
getImmediateChildren
in class ControlProxy
public java.awt.Rectangle getScreenRectangle()
ControlProxy
getScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphical
getScreenRectangle
in class ControlProxy
IGraphical.isPointInObject(java.awt.Point)
,
IGraphical.getClippedScreenRectangle()
public com.rational.test.ft.script.ScriptCommandFlags getScriptCommandFlags()
JavaGuiProxy
getScriptCommandFlags
in class JavaGuiProxy
public void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class JavaGuiProxy
action
- The event cache and other mouse state information
for this mouse action.MethodSpecification
public long getHandle()
ControlProxy
getHandle
in class ControlProxy
public ProxyTestObject getEclipsePlatformObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |