|
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.swt.TopLevelWindowProxy
com.rational.test.ft.domain.java.swt.DialogProxy
public abstract class DialogProxy
Field Summary | |
---|---|
protected static java.lang.String |
ACCEPT_METHOD
|
protected static java.lang.String |
CANCEL_METHOD
|
protected static java.lang.String |
CLOSE_METHOD
|
protected static com.rational.test.ft.util.FtDebug |
debug
|
protected boolean |
isClickOnClose
|
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 |
---|
uniqueId |
Fields inherited from class com.rational.test.ft.sys.RegisteredObject |
---|
theTestObject |
Fields inherited from interface com.rational.test.ft.domain.IDataDriven |
---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
Constructor Summary | |
---|---|
DialogProxy(java.lang.Object theObjectInTheSUT)
|
Method Summary | |
---|---|
protected void |
activateTopWindow()
|
protected void |
clearText()
|
void |
close()
|
protected java.lang.String |
getCachedMethodName()
|
java.util.Enumeration |
getChildrenEnumeration()
Return an enumeration of mappable proxies for the children of this object. |
protected com.rational.test.ft.sys.MethodSpecification |
getComments()
|
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
protected com.rational.test.ft.sys.graphical.TopLevelWindow |
getDialogWindow()
|
ProxyTestObject |
getMappableParent()
Returns a proxy object for the mappable parent of this object. |
ProxyTestObject |
getOwner()
Always returns null because object relationships are not understood at this level of abstaction. |
ProxyTestObject |
getParent()
Returns a proxy object for the parent of this object. |
java.lang.Object |
getParentObject()
Returns an object for the parent of this object. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the value for a specific property. |
java.awt.Rectangle |
getScreenRectangle()
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
int |
getStyle()
|
java.lang.String |
getText()
|
boolean |
hasFocus()
Check the component under evaluation to determine if it has keyboard focus. |
void |
inputChars(java.lang.String characters)
|
void |
inputKeys(java.lang.String characters)
|
boolean |
isEnabled()
Check the component under evaluation to determine if it is enabled or disabled. |
boolean |
isShowing()
Check the component under evaluation to determine if it is showing (as opposed to hidden). |
void |
processSingleMouseEvent(IMouseActionInfo action)
The method is used to add comments to the MethodSpecification |
protected void |
setCachedMethodName(java.lang.String methodName)
|
void |
setText(java.lang.String text)
|
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 |
Field Detail |
---|
protected static com.rational.test.ft.util.FtDebug debug
protected boolean isClickOnClose
protected static final java.lang.String CLOSE_METHOD
protected static final java.lang.String ACCEPT_METHOD
protected static final java.lang.String CANCEL_METHOD
Constructor Detail |
---|
public DialogProxy(java.lang.Object theObjectInTheSUT)
theObjectInTheSUT
- Method Detail |
---|
public java.util.Enumeration getChildrenEnumeration()
JavaGuiProxy
getChildrenEnumeration
in class JavaGuiProxy
public boolean hasFocus()
JavaGuiProxy
hasFocus
in interface com.rational.test.ft.object.interfaces.IGraphical
hasFocus
in class JavaGuiProxy
public boolean isEnabled()
JavaGuiProxy
isEnabled
in interface com.rational.test.ft.object.interfaces.IGraphical
isEnabled
in class JavaGuiProxy
public boolean isShowing()
JavaGuiProxy
isShowing
in interface com.rational.test.ft.object.interfaces.IGraphical
isShowing
in class JavaGuiProxy
public java.lang.String getText()
public void setText(java.lang.String text)
text
- public ProxyTestObject getMappableParent()
JavaGuiProxy
getMappableParent
in class JavaGuiProxy
public ProxyTestObject getParent()
JavaGuiProxy
getParent
in class JavaGuiProxy
public java.lang.Object getParentObject()
JavaGuiProxy
null
if this
object has no parent.
getParentObject
in class JavaGuiProxy
public ProxyTestObject getOwner()
JavaProxy
getOwner
in class JavaProxy
protected com.rational.test.ft.sys.graphical.TopLevelWindow getDialogWindow()
public java.lang.Object getProperty(java.lang.String propertyName)
JavaProxy
getProperty
in class JavaProxy
propertyName
- The name of the property to fetch.
ProxyTestObject.getProperties()
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getRecognitionProperties()
,
ProxyTestObject.addRecognitionProperty(String,Object,int)
public java.awt.Rectangle getScreenRectangle()
JavaGuiProxy
getScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphical
getScreenRectangle
in class JavaGuiProxy
IGraphical.isPointInObject(java.awt.Point)
,
IGraphical.getClippedScreenRectangle()
public java.lang.String getDescriptiveName()
JavaGuiProxy
getDescriptiveName
in class JavaGuiProxy
public int getStyle()
protected void activateTopWindow()
activateTopWindow
in class JavaGuiProxy
public void close()
public void inputChars(java.lang.String characters)
public void inputKeys(java.lang.String characters)
protected void clearText()
protected java.lang.String getCachedMethodName()
protected void setCachedMethodName(java.lang.String methodName)
protected com.rational.test.ft.sys.MethodSpecification getComments()
public void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class JavaGuiProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |