|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.mtp.pounder.PounderPrefs
The preferences class.
| Field Summary | |
static boolean |
DEFAULT_DISPLAY_SCRIPT
|
static int |
DEFAULT_FAILED_PLAYBACK_DELAY
|
static boolean |
DEFAULT_FAST_PLAYBACK_ENABLED
|
static boolean |
DEFAULT_IGNORE_UNNAMED
|
static boolean |
DEFAULT_ITEM_DELAY_ENABLED
|
static int |
DEFAULT_PLAYBACK_ATTEMPTS
|
static boolean |
DEFAULT_SAVE_PREFS_ON_EXIT
|
static boolean |
DEFAULT_USE_SYSTEM_CLASS_LOADER
|
protected PointModel |
defaultTestWindowLocation
|
static int |
DISPLAY_SCRIPT_CHANGED
|
protected boolean |
displayScript
|
protected EventDetector |
eventDetector
|
protected long |
failedPlaybackDelay
|
protected boolean |
fastPlaybackEnabled
Variables dealing with playback. |
protected File |
homeDirectory
The directory where files should first be searched from. |
protected boolean |
ignoreUnnamed
|
protected boolean |
itemDelayEnabled
|
protected Listeners |
listeners
|
static int |
PLAYBACK_OPTIONS_CHANGED
|
protected int |
playbackAttempts
|
protected boolean |
savePrefsOnExit
Whether to save the model's PounderPrefs on exit. |
protected boolean |
useSystemClassLoader
Whether to use the system class loader instead of a DynamicClassLoader. |
protected VerbatimRecordingOptions |
verbatimRecordingOptions
|
| Constructor Summary | |
PounderPrefs()
|
|
PounderPrefs(PounderPrefs pp)
|
|
| Method Summary | |
void |
addListener(PounderPrefsListener l)
|
boolean |
equals(Object o)
|
protected void |
fireChanged(int what)
|
PointModel |
getDefaultTestWindowLocation()
|
boolean |
getDisplayScript()
|
EventDetector |
getEventDetector()
|
long |
getFailedPlaybackDelay()
|
boolean |
getFastPlaybackEnabled()
|
File |
getHomeDirectory()
|
boolean |
getIgnoreUnnamed()
|
boolean |
getItemDelayEnabled()
|
int |
getPlaybackAttempts()
|
boolean |
getSavePrefsOnExit()
|
boolean |
getUseSystemClassLoader()
|
VerbatimRecordingOptions |
getVerbatimRecordingOptions()
|
void |
removeListener(PounderPrefsListener l)
|
void |
retrieveData(PounderPrefs p)
Update our data to be the same as the given PounderPrefs. |
PounderPrefs |
retrieveDataFromSystem()
Retrieve data from preferences stored on system using the Preferences for our class and return self. |
void |
saveDataToSystem()
Store our data to the system using the Preferences for our class. |
void |
setDisplayScript(boolean b)
|
void |
setFailedPlaybackDelay(long amount)
Set the value (in milliseconds) for delay after a playback failure. |
void |
setFastPlaybackEnabled(boolean whether)
Set sensible values for a fast playback if desired. |
void |
setHomeDirectory(File f)
|
void |
setIgnoreUnnamed(boolean whether)
|
void |
setItemDelayEnabled(boolean b)
Set whether item delay is enabled. |
void |
setPlaybackAttempts(int count)
Set the number of attempts to playback a failing item before halting the playback session. |
void |
setPlaybackOptions(boolean itemDelayEnabled,
int playbackAttempts,
long failedPlaybackDelay)
|
void |
setSavePrefsOnExit(boolean whether)
|
void |
setUseSystemClassLoader(boolean whether)
|
void |
setVerbatimRecordingOptions(VerbatimRecordingOptions vro)
Actually just updates current values, rather than changing the pointer. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DISPLAY_SCRIPT_CHANGED
public static final int PLAYBACK_OPTIONS_CHANGED
public static boolean DEFAULT_FAST_PLAYBACK_ENABLED
public static boolean DEFAULT_ITEM_DELAY_ENABLED
public static boolean DEFAULT_IGNORE_UNNAMED
public static boolean DEFAULT_USE_SYSTEM_CLASS_LOADER
public static boolean DEFAULT_DISPLAY_SCRIPT
public static boolean DEFAULT_SAVE_PREFS_ON_EXIT
public static int DEFAULT_PLAYBACK_ATTEMPTS
public static int DEFAULT_FAILED_PLAYBACK_DELAY
protected PointModel defaultTestWindowLocation
protected EventDetector eventDetector
protected VerbatimRecordingOptions verbatimRecordingOptions
protected volatile Listeners listeners
protected volatile boolean displayScript
protected volatile boolean savePrefsOnExit
protected volatile boolean useSystemClassLoader
protected File homeDirectory
protected volatile boolean fastPlaybackEnabled
protected volatile boolean itemDelayEnabled
protected volatile boolean ignoreUnnamed
protected volatile int playbackAttempts
protected volatile long failedPlaybackDelay
| Constructor Detail |
public PounderPrefs()
public PounderPrefs(PounderPrefs pp)
| Method Detail |
public PounderPrefs retrieveDataFromSystem()
public void saveDataToSystem()
public void retrieveData(PounderPrefs p)
public boolean getIgnoreUnnamed()
public void setIgnoreUnnamed(boolean whether)
public void setHomeDirectory(File f)
public File getHomeDirectory()
public boolean getUseSystemClassLoader()
public void setSavePrefsOnExit(boolean whether)
public boolean getSavePrefsOnExit()
public void setUseSystemClassLoader(boolean whether)
public boolean getFastPlaybackEnabled()
public void setFastPlaybackEnabled(boolean whether)
public void setPlaybackOptions(boolean itemDelayEnabled,
int playbackAttempts,
long failedPlaybackDelay)
public void setItemDelayEnabled(boolean b)
public void setPlaybackAttempts(int count)
public void setFailedPlaybackDelay(long amount)
public int getPlaybackAttempts()
public long getFailedPlaybackDelay()
public boolean getItemDelayEnabled()
public boolean getDisplayScript()
public void setDisplayScript(boolean b)
public void addListener(PounderPrefsListener l)
public void removeListener(PounderPrefsListener l)
protected void fireChanged(int what)
public EventDetector getEventDetector()
public PointModel getDefaultTestWindowLocation()
public VerbatimRecordingOptions getVerbatimRecordingOptions()
public void setVerbatimRecordingOptions(VerbatimRecordingOptions vro)
public boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||