com.mtp.pounder
Class WindowStateChangedItem

java.lang.Object
  |
  +--com.mtp.pounder.RecordingItem
        |
        +--com.mtp.pounder.WindowStateChangedItem

public class WindowStateChangedItem
extends RecordingItem

RecordingItem for a Frame changing state.

Author:
Matthew Pekar

Field Summary
protected  int state
           
protected  int windowID
           
 
Fields inherited from class com.mtp.pounder.RecordingItem
decimalNumberFormat, delay
 
Constructor Summary
WindowStateChangedItem(Element e, PounderPrefs prefs, ComponentIdentifierFactory f)
           
WindowStateChangedItem(int windowID, int state, long delay)
           
 
Method Summary
protected  void addXMLAttributes(Element e, Document doc)
           
 Element buildXMLElement(Document doc)
           
 boolean equals(Object o)
          Should be called by all subclasses.
protected  String getStateAsString()
           
 void playback(WindowWatcher ww, PounderPrefs prefs)
          Playback on this Component.
 String toString()
           
 
Methods inherited from class com.mtp.pounder.RecordingItem
getAttribs, getDelay, instantiate, setDelay, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

windowID

protected int windowID

state

protected int state
Constructor Detail

WindowStateChangedItem

public WindowStateChangedItem(Element e,
                              PounderPrefs prefs,
                              ComponentIdentifierFactory f)

WindowStateChangedItem

public WindowStateChangedItem(int windowID,
                              int state,
                              long delay)
Method Detail

buildXMLElement

public Element buildXMLElement(Document doc)
Specified by:
buildXMLElement in class RecordingItem

addXMLAttributes

protected void addXMLAttributes(Element e,
                                Document doc)
Overrides:
addXMLAttributes in class RecordingItem

equals

public boolean equals(Object o)
Description copied from class: RecordingItem
Should be called by all subclasses.

Overrides:
equals in class RecordingItem

playback

public void playback(WindowWatcher ww,
                     PounderPrefs prefs)
              throws Exception
Description copied from class: RecordingItem
Playback on this Component.

Specified by:
playback in class RecordingItem
Exception

getStateAsString

protected String getStateAsString()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002 Matthew Pekar. All Rights Reserved.