com.mtp.pounder.assrt
Class WindowShowingItem

java.lang.Object
  |
  +--com.mtp.pounder.RecordingItem
        |
        +--com.mtp.pounder.assrt.WindowAssertItem
              |
              +--com.mtp.pounder.assrt.WindowShowingItem

public class WindowShowingItem
extends WindowAssertItem

Asserts that a window is showing.

Author:
Matthew Pekar

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

Constructor Detail

WindowShowingItem

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

WindowShowingItem

public WindowShowingItem(int windowID)

WindowShowingItem

public WindowShowingItem(String title)
Method Detail

equals

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

Overrides:
equals in class WindowAssertItem

buildXMLElement

protected Element buildXMLElement(Document doc)
Specified by:
buildXMLElement 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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002 Matthew Pekar. All Rights Reserved.