|
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.Object com.rational.test.ft.script.LowLevelEvent com.rational.test.ft.script.LowLevelKeyEvent
public class LowLevelKeyEvent
Represents a low level key event. These should be constructed by using the SubitemFactory
methods keyDown
and keyUp
.
Emitting the event (by using com.rational.test.ft.object.interfaces.RootTestObject.emitLowLevelEvent
) will play back the key action to the system under test.
SubitemFactory.keyDown(String)
,
SubitemFactory.keyUp(String)
,
RootTestObject.emitLowLevelEvent(LowLevelEvent[])
,
RootTestObject.emitLowLevelEvent(LowLevelEvent)
Field Summary | |
---|---|
static int |
KEYDOWN
|
static int |
KEYUP
|
Constructor Summary | |
---|---|
LowLevelKeyEvent(java.lang.String key, int kind)
Constructor for a LowLevelEvent representing a key 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 KEYDOWN
public static final int KEYUP
Constructor Detail |
---|
public LowLevelKeyEvent(java.lang.String key, int kind)
LowLevelEvent
representing a key event.
key
- the character or the tool given name for a non-printable character.kind
- whether the event is a key down or key up.
Either KEYDOWN
or KEYUP
SubitemFactory.keyDown(String)
,
RootTestObject.emitLowLevelEvent(LowLevelEvent[])
,
RootTestObject.emitLowLevelEvent(LowLevelEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |