|
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.services.PlaybackMonitorAdapter
public class PlaybackMonitorAdapter
The adapter which receives playback monitor requests. The methods in this class are empty.
Field Summary | |
---|---|
static int |
FINDING
Searching the system for a particular object |
static int |
WAITING
Waiting |
Fields inherited from interface com.rational.test.ft.services.IPlaybackMonitor |
---|
LAST_STATE, LINE_NUM_UNKNOWN, RUNNING, START_APP, TYPING |
Constructor Summary | |
---|---|
PlaybackMonitorAdapter()
|
Method Summary | |
---|---|
void |
close()
Method called to take the playback monitor down and release all its resources |
java.lang.String |
getDescription()
Get the description of the currently executing statement. |
boolean |
getDisplayLocked()
Get the lock state of the monitor's display fields. |
java.awt.Frame |
getFrame()
Return the playback monitor's frame |
boolean |
isAlwaysOnTop()
Returns whether the playback monitor is always displayed on top of other windows. |
boolean |
isVisible()
Returns whether the playback monitor is visible. |
void |
pause()
Put the monitor in the "paused" state. |
void |
resetDescription()
Reset to the base Running state |
void |
resume()
Resume the monitor from the paused 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 |
setDisplayLocked(boolean lockedState)
Lock (or unlock) the display fields so the contents can not be changed. |
void |
setFinding(boolean state)
Set whether currently trying to find an object |
void |
setScriptLine(int line)
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 state)
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int WAITING
public static final int FINDING
Constructor Detail |
---|
public PlaybackMonitorAdapter()
Method Detail |
---|
public void setScriptName(java.lang.String scriptName)
setScriptName
in interface IPlaybackMonitor
scriptName
- The script namepublic void setScriptLine(int line)
setScriptLine
in interface IPlaybackMonitor
lineNum
- The currently executing line number
or (@link #LINE_NUM_UNKNOWN) if unknownpublic java.lang.String getDescription()
getDescription
in interface IPlaybackMonitor
public void setDescription(int state, java.lang.String additionalText)
setDescription
in interface IPlaybackMonitor
state
- The state (this selects a stock message)
(@link #RUNNING, @link #WAITING, @link #FINDING,additionalText
- Additional text appended to the stock message.public void resetDescription()
resetDescription
in interface IPlaybackMonitor
public void setFinding(boolean state)
setFinding
in interface IPlaybackMonitor
state
- true - searching, false - notpublic void setWaiting(boolean state)
setWaiting
in interface IPlaybackMonitor
state
- true - waiting, false - notpublic void setVisible(boolean b)
setVisible
in interface IPlaybackMonitor
setVisible
in interface IPlaybackMonitorDisplay
b
- true - show the playback monitor, otherwise, hidepublic boolean isVisible()
isVisible
in interface IPlaybackMonitorDisplay
public void setAlwaysOnTop(boolean b)
setAlwaysOnTop
in interface IPlaybackMonitorDisplay
b
- true - show always on top,
otherwise, may be behind another windowpublic boolean isAlwaysOnTop()
isAlwaysOnTop
in interface IPlaybackMonitorDisplay
public void close()
public void toFront()
toFront
in interface IPlaybackMonitorDisplay
public java.awt.Frame getFrame()
getFrame
in interface IPlaybackMonitorDisplay
public void setDisplayLocked(boolean lockedState)
setDisplayLocked
in interface IPlaybackMonitor
lockState
- true to lock the displaypublic boolean getDisplayLocked()
getDisplayLocked
in interface IPlaybackMonitor
public void pause()
pause
in interface IPlaybackMonitor
public void resume()
resume
in interface IPlaybackMonitor
public void stop()
stop
in interface IPlaybackMonitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |