|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.mtp.pounder.RecordingItem
This represents a single action in a recording. It can be played back at a later time.
| Field Summary | |
protected static NumberFormat |
decimalNumberFormat
Little utility class for printing decimals in an easy-on-the-eye way. |
protected long |
delay
|
| Constructor Summary | |
RecordingItem(Element e,
PounderPrefs prefs,
ComponentIdentifierFactory f)
|
|
RecordingItem(long delay)
|
|
| Method Summary | |
protected void |
addXMLAttributes(Element e,
Document doc)
|
protected abstract Element |
buildXMLElement(Document doc)
|
boolean |
equals(Object o)
Should be called by all subclasses. |
protected String |
getAttribs()
|
long |
getDelay()
|
static RecordingItem |
instantiate(Element xml,
PounderPrefs prefs,
ComponentIdentifierFactory f)
Attempt to instantiate the given item given an XML Element. |
abstract void |
playback(WindowWatcher ww,
PounderPrefs prefs)
Playback on this Component. |
void |
setDelay(long d)
|
Element |
toXML(Document doc)
Subclasses should override buildXMLNode() and addXMLAttributes(). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static NumberFormat decimalNumberFormat
protected long delay
| Constructor Detail |
public RecordingItem(Element e,
PounderPrefs prefs,
ComponentIdentifierFactory f)
public RecordingItem(long delay)
| Method Detail |
public static RecordingItem instantiate(Element xml,
PounderPrefs prefs,
ComponentIdentifierFactory f)
throws ClassNotFoundException,
NoSuchMethodException,
IllegalAccessException,
InstantiationException
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InstantiationExceptionpublic long getDelay()
public void setDelay(long d)
public final Element toXML(Document doc)
protected abstract Element buildXMLElement(Document doc)
protected void addXMLAttributes(Element e,
Document doc)
public abstract void playback(WindowWatcher ww,
PounderPrefs prefs)
throws Exception
Exceptionpublic boolean equals(Object o)
equals in class Objectprotected String getAttribs()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||