public class Java2TestDomainImplementation extends TestDomainImplementationJava implements java.awt.event.AWTEventListener
| Modifier and Type | Field and Description |
|---|---|
protected static com.rational.test.ft.util.FtDebug |
debug |
static java.lang.String |
SHELL_EMBEDDING |
static java.lang.String |
XULRUNNER_EMBEDDING |
IGNORE_MOUSE_DOUBLECLICK_THRESHOLD, IGNORE_MOUSE_DRAG| Constructor and Description |
|---|
Java2TestDomainImplementation() |
| Modifier and Type | Method and Description |
|---|---|
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) |
com.rational.test.ft.domain.ProxyTestObject |
getCrossDomainProxy(com.rational.test.ft.sys.graphical.Window hwnd) |
com.rational.test.ft.domain.ProxyTestObject |
getDescribedObject(com.rational.test.ft.domain.DescribedObject describedObject) |
com.rational.test.ft.domain.ProxyTestObject[] |
getProxiesForWindow(com.rational.test.ft.sys.graphical.Window hwnd) |
com.rational.test.ft.domain.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.
|
com.rational.test.ft.domain.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(com.rational.test.ft.domain.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.
|
getActionRecordingFlags, getDomainProxy, getImplementationName, getProxy, getTheDomainImplementation, IAmTheOne, registerFromSwtUIThread, registerProxiesprotected static com.rational.test.ft.util.FtDebug debug
public static java.lang.String SHELL_EMBEDDING
public static java.lang.String XULRUNNER_EMBEDDING
public java.util.Enumeration getTopLevelObjects()
getTopLevelObjects in class com.rational.test.ft.domain.TestDomainImplementationpublic java.util.Enumeration getTopLevelObjects(com.rational.test.ft.domain.IChannel channel)
public com.rational.test.ft.domain.ProxyTestObject getTopLevelObject(com.rational.test.ft.sys.graphical.Window window)
getTopLevelObject in class com.rational.test.ft.domain.TestDomainImplementationwindow - The window object to match.public com.rational.test.ft.domain.ProxyTestObject getTopLevelObject(com.rational.test.ft.sys.graphical.Window topWindow,
com.rational.test.ft.sys.graphical.Window pointWindow)
getTopLevelObject in class com.rational.test.ft.domain.TestDomainImplementationwindow - The window object to match.public void initialize()
public void eventDispatched(java.awt.AWTEvent theEvent)
eventDispatched in interface java.awt.event.AWTEventListenertheEvent - Any requested events as they are generated.protected java.awt.Window[] getTopLevelWindows()
public java.awt.Window getTopLevelWindowWithFocus()
public com.rational.test.ft.domain.ProxyTestObject getDescribedObject(com.rational.test.ft.domain.DescribedObject describedObject)
getDescribedObject in class com.rational.test.ft.domain.TestDomainImplementationpublic com.rational.test.ft.domain.ProxyTestObject[] getProxiesForWindow(com.rational.test.ft.sys.graphical.Window hwnd)
getProxiesForWindow in class TestDomainImplementationJavapublic com.rational.test.ft.domain.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 com.rational.test.ft.domain.TestDomainImplementation