com.mtp.pounder
Class MouseWheelItem

java.lang.Object
  |
  +--com.mtp.pounder.RecordingItem
        |
        +--com.mtp.pounder.ComponentItem
              |
              +--com.mtp.pounder.MouseWheelItem

public class MouseWheelItem
extends ComponentItem

Represents a keyboard event.

Author:
Matthew Pekar

Field Summary
protected  int clickCount
           
protected  int modifiers
           
protected  boolean popupTrigger
           
protected  int scrollAmount
           
protected  int type
           
protected  int wheelRotation
           
protected  double x
           
protected  double y
           
 
Fields inherited from class com.mtp.pounder.ComponentItem
component, robots, windowID
 
Fields inherited from class com.mtp.pounder.RecordingItem
decimalNumberFormat, delay
 
Constructor Summary
MouseWheelItem(Element e, PounderPrefs prefs, ComponentIdentifierFactory f)
           
MouseWheelItem(MouseWheelEvent e, int windowID, long delay, ComponentIdentifierFactory f)
           
 
Method Summary
protected  void addXMLAttributes(Element e, Document doc)
           
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.ComponentItem
getAttribs, getComponent, getComponentIdentifier, getRobot, getWindowID, setComponentIdentifier, setWindowID
 
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
 

Field Detail

modifiers

protected int modifiers

x

protected double x

y

protected double y

clickCount

protected int clickCount

popupTrigger

protected boolean popupTrigger

type

protected int type

scrollAmount

protected int scrollAmount

wheelRotation

protected int wheelRotation
Constructor Detail

MouseWheelItem

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

MouseWheelItem

public MouseWheelItem(MouseWheelEvent e,
                      int windowID,
                      long delay,
                      ComponentIdentifierFactory f)
Method Detail

buildXMLElement

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

addXMLAttributes

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

equals

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

Overrides:
equals in class ComponentItem

playback

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

Specified by:
playback in class RecordingItem
PlaybackException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002 Matthew Pekar. All Rights Reserved.