|
IBM Rational Functional Tester Version 8.2.1 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.services.PlaybackMonitorAdapter com.rational.test.ft.services.PlaybackMonitor
public class PlaybackMonitor
The adapter which receives playback monitor requests. The methods in this class are empty.
Nested Class Summary | |
---|---|
class |
PlaybackMonitor.FixedHeightTextField
|
Field Summary |
---|
Fields inherited from class com.rational.test.ft.services.PlaybackMonitorAdapter |
---|
FINDING, WAITING |
Fields inherited from interface com.rational.test.ft.services.IPlaybackMonitor |
---|
LAST_STATE, LINE_NUM_UNKNOWN, RUNNING, START_APP, TYPING |
Constructor Summary | |
---|---|
PlaybackMonitor()
Create a playback monitor |
Method Summary | |
---|---|
void |
close()
Method called to take the playback monitor down and release all its resources |
protected void |
finalize()
|
java.awt.Frame |
getFrame()
Return the playback monitor's frame |
static void |
main(java.lang.String[] args)
|
void |
pause()
Set the monitor UI to the paused state |
void |
resetDescription()
Reset to the base Running state |
void |
resume()
Set the monitor UI to the resumed state |
void |
setAlwaysOnTop(boolean b)
Display playback monitor in front of any other window or not, depending on the argument. |
void |
setDescription(int state,
java.lang.String additionalText)
Set the description of the currently executing statement |
void |
setFinding(boolean b)
Set whether currently trying to find an object |
void |
setScriptLine(int lineNum)
Set the line in the script currently executing |
void |
setScriptName(java.lang.String scriptName)
Set the name of the script being played back |
void |
setVisible(boolean b)
Show or hide the playback monitor depending on the argument. |
void |
setWaiting(boolean b)
Set whether the playback engine is waiting (e.g. |
void |
stop()
Put the monitor UI in the "stopping" state. |
void |
toFront()
Method called to bring the playback monitor to the front of the stacking order (AKA z-order). |
Methods inherited from class com.rational.test.ft.services.PlaybackMonitorAdapter |
---|
getDescription, getDisplayLocked, isAlwaysOnTop, isVisible, setDisplayLocked |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaybackMonitor()
Method Detail |
---|
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void close()
close
in class PlaybackMonitorAdapter
public void setScriptName(java.lang.String scriptName)
setScriptName
in interface IPlaybackMonitor
setScriptName
in class PlaybackMonitorAdapter
scriptName
- The script namepublic void setScriptLine(int lineNum)
setScriptLine
in interface IPlaybackMonitor
setScriptLine
in class PlaybackMonitorAdapter
lineNum
- The currently executing line number
or (@link #LINE_NUM_UNKNOWN) if unknownpublic void setDescription(int state, java.lang.String additionalText)
setDescription
in interface IPlaybackMonitor
setDescription
in class PlaybackMonitorAdapter
state
- The state (this selects a stock message)
(@link #RUNNING, @link #TYPING, @link #START_APP)additionalText
- Additional text appended to the stock message.public void resetDescription()
resetDescription
in interface IPlaybackMonitor
resetDescription
in class PlaybackMonitorAdapter
public void setFinding(boolean b)
setFinding
in interface IPlaybackMonitor
setFinding
in class PlaybackMonitorAdapter
b
- true - searching, false - notpublic void setWaiting(boolean b)
setWaiting
in interface IPlaybackMonitor
setWaiting
in class PlaybackMonitorAdapter
b
- true - waiting, false - notpublic void setVisible(boolean b)
setVisible
in interface IPlaybackMonitor
setVisible
in interface IPlaybackMonitorDisplay
setVisible
in class PlaybackMonitorAdapter
b
- true - show the playback monitor, otherwise, hidepublic void setAlwaysOnTop(boolean b)
setAlwaysOnTop
in interface IPlaybackMonitorDisplay
setAlwaysOnTop
in class PlaybackMonitorAdapter
b
- true - show always on top,
otherwise, may be behind another windowpublic void toFront()
toFront
in interface IPlaybackMonitorDisplay
toFront
in class PlaybackMonitorAdapter
public java.awt.Frame getFrame()
getFrame
in interface IPlaybackMonitorDisplay
getFrame
in class PlaybackMonitorAdapter
public void pause()
pause
in interface IPlaybackMonitor
pause
in class PlaybackMonitorAdapter
public void resume()
resume
in interface IPlaybackMonitor
resume
in class PlaybackMonitorAdapter
public void stop()
stop
in interface IPlaybackMonitor
stop
in class PlaybackMonitorAdapter
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |