IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

com.rational.test.ft.object.interfaces
Interface IScreen

All Superinterfaces:
IGraphical

public interface IScreen
extends IGraphical

Provides simple access to a Screen object. This interface is part of the native-window management system; any use of this interface is likely to be platform specific.

Since:
RFT1.0

Method Summary
 IWindow getActiveWindow()
          Returns the current active window.
 java.awt.Point getMousePosition()
          Returns the current screen location of the mouse pointer.
 void inputChars(java.lang.String characters)
          Sends the characters to the current active window as a sequence of key events.
 void inputKeys(java.lang.String keys)
          Sends the key events to the current active window.
 IWindow windowFromHandle(long handle)
          Returns a window object when given a native window handle.
 IWindow windowFromPoint(java.awt.Point point)
          Returns the object at the given screen point.
 
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, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
 

Method Detail

windowFromHandle

public IWindow windowFromHandle(long handle)
Returns a window object when given a native window handle.

Since:
RFT1.0

windowFromPoint

public IWindow windowFromPoint(java.awt.Point point)
Returns the object at the given screen point. If the point on the screen is on a child window, the child, not the parent, is returned.

Since:
RFT1.0

getActiveWindow

public IWindow getActiveWindow()
Returns the current active window.

Since:
RFT1.0

getMousePosition

public java.awt.Point getMousePosition()
Returns the current screen location of the mouse pointer.

Since:
RFT1.0

inputKeys

public void inputKeys(java.lang.String keys)
Sends the key events to the current active window. No window activation implicitly occurs. For an explanation of the key syntax, see inputKeys.

Since:
RFT1.0

inputChars

public void inputChars(java.lang.String characters)
Sends the characters to the current active window as a sequence of key events. No special interpretation of the characters (such as for inputKeys) is used. No window activation implicitly occurs.

Since:
RFT1.0