|
IBM Rational Functional Tester Version 6.1 IBM Rational Functional Tester API Reference Project Version 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rational.test.ft.script.MouseModifiers
Enables the MouseModifiers
to be passed across processes. This is a value class.
This class is necessary as a flag informing the script generator to treat
MouseModifiers
as descriptive expressions rather than as integer values.
Field Summary | |
static int |
KEY_ALT
Exposes the KEY_ALT bitmap literal. |
static int |
KEY_CTRL
Exposes the KEY_CTRL bitmap literal. |
static int |
KEY_SHIFT
Exposes the KEY_SHIFT bitmap literal. |
static int |
MOUSE_LEFT
Exposes the MOUSE_LEFT bitmap literal. |
static int |
MOUSE_MIDDLE
Exposes the MOUSE_MIDDLE bitmap literal. |
static int |
MOUSE_RIGHT
Exposes the MOUSE_RIGHT bitmap literal. |
Constructor Summary | |
MouseModifiers(int bitmap)
Constructs a MouseModifier class from an existing bitmap. |
Method Summary | |
static MouseModifiers |
create(int bitmap)
Creates a MouseModifiers object quickly. |
boolean |
equals(java.lang.Object other)
Overloads the equals method so that only the bitmap is compared. |
int |
getBitmap()
Accesses the modifier bitmap. |
java.lang.String |
getModifiersText()
Returns the text of the modifiers |
boolean |
isAlt()
Returns true if the Alt key is selected. |
boolean |
isCtrl()
Returns true if the Ctrl key is selected. |
boolean |
isLeft()
Returns true if the left mouse button is selected. |
boolean |
isMiddle()
Returns true if the middle mouse button is selected. |
boolean |
isRight()
Returns true if the right mouse button is selected. |
boolean |
isShift()
Returns true if the Shift key is selected. |
static MouseModifiers |
left()
Creates a MOUSE_LEFT object quickly. |
void |
setAlt()
Sets the Alt key as selected. |
void |
setCtrl()
Sets the Ctrl key as selected. |
void |
setLeft()
Sets the left mouse button as selected. |
void |
setMiddle()
Sets the middle mouse button as selected. |
void |
setRight()
Sets the right mouse button as selected. |
void |
setShift()
Sets the Shift key as selected. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MOUSE_LEFT
MOUSE_LEFT
bitmap literal.
public static final int MOUSE_MIDDLE
MOUSE_MIDDLE
bitmap literal.
public static final int MOUSE_RIGHT
MOUSE_RIGHT
bitmap literal.
public static final int KEY_SHIFT
KEY_SHIFT
bitmap literal.
public static final int KEY_CTRL
KEY_CTRL
bitmap literal.
public static final int KEY_ALT
KEY_ALT
bitmap literal.
Constructor Detail |
public MouseModifiers(int bitmap)
MouseModifier
class from an existing bitmap.
Method Detail |
public int getBitmap()
public boolean isLeft()
true
if the left mouse button is selected.
public void setLeft()
public boolean isMiddle()
true
if the middle mouse button is selected.
public void setMiddle()
public boolean isRight()
true
if the right mouse button is selected.
public void setRight()
public boolean isCtrl()
true
if the Ctrl key is selected.
public void setCtrl()
public boolean isAlt()
true
if the Alt key is selected.
public void setAlt()
public boolean isShift()
true
if the Shift key is selected.
public void setShift()
public java.lang.String getModifiersText()
public boolean equals(java.lang.Object other)
public static MouseModifiers left()
MOUSE_LEFT
object quickly.
public static MouseModifiers create(int bitmap)
MouseModifiers
object quickly.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |