|
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.domain.TestDomain com.rational.test.ft.domain.TestDomainImplementation com.rational.test.ft.domain.java.TestDomainImplementationJava com.rational.test.ft.domain.java.Java2TestDomainImplementation
public class Java2TestDomainImplementation
The "assistive_technology" class that gets loaded as an accessibility interface. This class tracks and allows access to top-level windows in much the same way that the Sun EventQueueMonitor class allows this access. Using the EventQueueMonitor class provides greater functionality than needed. Therefore, a stripped-down version is used here instead.
Field Summary | |
---|---|
protected static com.rational.test.ft.util.FtDebug |
debug
|
static java.lang.String |
SHELL_EMBEDDING
|
Fields inherited from class com.rational.test.ft.domain.java.TestDomainImplementationJava |
---|
IGNORE_MOUSE_DOUBLECLICK_THRESHOLD, IGNORE_MOUSE_DRAG |
Constructor Summary | |
---|---|
Java2TestDomainImplementation()
|
Method Summary | |
---|---|
void |
eventDispatched(java.awt.AWTEvent theEvent)
Called when events are generated by the AWTEventListener logic. |
com.rational.test.ft.object.manager.FindResult |
find(com.rational.test.ft.object.map.IMappedTestObject[] pathToFind)
|
ProxyTestObject |
getCrossDomainProxy(com.rational.test.ft.sys.graphical.Window hwnd)
|
ProxyTestObject |
getDescribedObject(DescribedObject describedObject)
Find the object described by the set of properties in the DescribedObject. |
ProxyTestObject[] |
getProxiesForWindow(com.rational.test.ft.sys.graphical.Window hwnd)
|
ProxyTestObject |
getTopLevelObject(com.rational.test.ft.sys.graphical.Window window)
Returns the topLevelObject that matches the specified window; throws an exception if the domain is not isGraphical. |
ProxyTestObject |
getTopLevelObject(com.rational.test.ft.sys.graphical.Window topWindow, com.rational.test.ft.sys.graphical.Window pointWindow)
Returns the topLevelObject that matches the specified window; throws an exception if the domain is not isGraphical. |
java.util.Enumeration |
getTopLevelObjects()
Return an enumeration for the top-level objects within this domain implementation. |
java.util.Enumeration |
getTopLevelObjects(IChannel channel)
|
protected java.awt.Window[] |
getTopLevelWindows()
Returns an array of top-level windows from the top-level windows list that is maintained statically. |
java.awt.Window |
getTopLevelWindowWithFocus()
Returns the last top-level window to be activated, which contains the component with focus. |
void |
initialize()
Register this class as an event listener. |
Methods inherited from class com.rational.test.ft.domain.java.TestDomainImplementationJava |
---|
getActionRecordingFlags, getDomainProxy, getImplementationName, getProxy, getTheDomainImplementation, IAmTheOne, registerFromSwtUIThread, registerProxies |
Methods inherited from class com.rational.test.ft.domain.TestDomainImplementation |
---|
equals, supportVOMOptimization |
Methods inherited from class com.rational.test.ft.domain.TestDomain |
---|
getName, isGraphical, isNamed |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static com.rational.test.ft.util.FtDebug debug
public static java.lang.String SHELL_EMBEDDING
Constructor Detail |
---|
public Java2TestDomainImplementation()
Method Detail |
---|
public java.util.Enumeration getTopLevelObjects()
getTopLevelObjects
in class TestDomainImplementation
public java.util.Enumeration getTopLevelObjects(IChannel channel)
public ProxyTestObject getTopLevelObject(com.rational.test.ft.sys.graphical.Window window)
getTopLevelObject
in class TestDomainImplementation
window
- The window object to match.
public ProxyTestObject getTopLevelObject(com.rational.test.ft.sys.graphical.Window topWindow, com.rational.test.ft.sys.graphical.Window pointWindow)
getTopLevelObject
in class TestDomainImplementation
window
- The window object to match.
public void initialize()
public void eventDispatched(java.awt.AWTEvent theEvent)
eventDispatched
in interface java.awt.event.AWTEventListener
theEvent
- Any requested events as they are generated.protected java.awt.Window[] getTopLevelWindows()
public java.awt.Window getTopLevelWindowWithFocus()
public ProxyTestObject getDescribedObject(DescribedObject describedObject)
TestDomainImplementation
getDescribedObject
in class TestDomainImplementation
public ProxyTestObject[] getProxiesForWindow(com.rational.test.ft.sys.graphical.Window hwnd)
getProxiesForWindow
in class TestDomainImplementationJava
public ProxyTestObject getCrossDomainProxy(com.rational.test.ft.sys.graphical.Window hwnd)
public com.rational.test.ft.object.manager.FindResult find(com.rational.test.ft.object.map.IMappedTestObject[] pathToFind)
find
in class TestDomainImplementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |