|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API 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.script.LowLevelEvent
com.rational.test.ft.script.LowLevelMouseEvent
public class LowLevelMouseEvent
Represents a low level mouse event. These should be constructed by using the SubitemFactory
methods leftMouseButtonDown
, leftMouseButtonUp
, middleMouseButtonDown
,
middleMouseButtonUp
, rightMouseButtonDown
, rightMouseButtonUp
, mouseMove
, and mouseScroll
.
Emitting the event (by using com.rational.test.ft.object.interfaces.RootTestObject.emitLowLevelEvent
) will play back the mouse action to the system under test.
SubitemFactory.leftMouseButtonDown()
,
SubitemFactory.leftMouseButtonUp()
,
SubitemFactory.middleMouseButtonDown()
,
SubitemFactory.middleMouseButtonUp()
,
SubitemFactory.rightMouseButtonDown()
,
SubitemFactory.rightMouseButtonUp()
,
SubitemFactory.mouseMove(Point)
,
SubitemFactory.mouseWheel(int)
,
RootTestObject.emitLowLevelEvent(LowLevelEvent[])
,
RootTestObject.emitLowLevelEvent(LowLevelEvent)
Field Summary | |
---|---|
static int |
LEFT_BUTTON_DOWN
|
static int |
LEFT_BUTTON_UP
|
static int |
MIDDLE_BUTTON_DOWN
|
static int |
MIDDLE_BUTTON_UP
|
static int |
MOVE
|
static int |
RIGHT_BUTTON_DOWN
|
static int |
RIGHT_BUTTON_UP
|
static int |
SCROLL
|
Constructor Summary | |
---|---|
LowLevelMouseEvent(int kind)
Constructor for a LowLevelEvent representing a mouse event. |
|
LowLevelMouseEvent(int kind, int scrollAmount)
Constructor for a LowLevelEvent representing a mouse event. |
|
LowLevelMouseEvent(int kind, java.awt.Point pt)
Constructor for a LowLevelEvent representing a mouse event. |
Method Summary |
---|
Methods inherited from class com.rational.test.ft.script.LowLevelEvent |
---|
emit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LEFT_BUTTON_DOWN
public static final int LEFT_BUTTON_UP
public static final int MIDDLE_BUTTON_DOWN
public static final int MIDDLE_BUTTON_UP
public static final int RIGHT_BUTTON_DOWN
public static final int RIGHT_BUTTON_UP
public static final int SCROLL
public static final int MOVE
Constructor Detail |
---|
public LowLevelMouseEvent(int kind)
LowLevelEvent
representing a mouse event.
kind
- Whether the event is a button up or down, a mouse move, or a wheel movement.
One of LEFT_BUTTON_DOWN
, LEFT_BUTTON_UP
,
MIDDLE_BUTTON_DOWN
,MIDDLE_BUTTON_UP
, RIGHT_BUTTON_DOWN
,RIGHT_BUTTON_UP
, SCROLL
, or MOVE
.RootTestObject.emitLowLevelEvent(LowLevelEvent[])
,
RootTestObject.emitLowLevelEvent(LowLevelEvent)
public LowLevelMouseEvent(int kind, java.awt.Point pt)
LowLevelEvent
representing a mouse event.
kind
- Whether the event is a button up or down, a mouse move, or a wheel movement.
One of LEFT_BUTTON_DOWN
, LEFT_BUTTON_UP
,
MIDDLE_BUTTON_DOWN
,MIDDLE_BUTTON_UP
, RIGHT_BUTTON_DOWN
,RIGHT_BUTTON_UP
, SCROLL
, or MOVE
.pt
- The screen point associated with the mouse eventRootTestObject.emitLowLevelEvent(LowLevelEvent[])
,
RootTestObject.emitLowLevelEvent(LowLevelEvent)
public LowLevelMouseEvent(int kind, int scrollAmount)
LowLevelEvent
representing a mouse event.
kind
- Whether the event is a button up or down, a mouse move, or a wheel movement.
One of LEFT_BUTTON_DOWN
, LEFT_BUTTON_UP
,
MIDDLE_BUTTON_DOWN
,MIDDLE_BUTTON_UP
, RIGHT_BUTTON_DOWN
,RIGHT_BUTTON_UP
, SCROLL
, or MOVE
.scrollAmount
- the number of wheel clicks to scrollRootTestObject.emitLowLevelEvent(LowLevelEvent[])
,
RootTestObject.emitLowLevelEvent(LowLevelEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |