com.mtp.pounder
Class MouseMotionItem

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

public class MouseMotionItem
extends ComponentItem

Represents mouse motion.

Author:
Matthew Pekar

Field Summary
protected  int count
           
protected  int modifiers
           
protected  int type
           
protected  double x
          Coordinates of pointer relative to parent Window.
protected  double y
          Coordinates of pointer relative to parent Window.
 
Fields inherited from class com.mtp.pounder.ComponentItem
component, robots, windowID
 
Fields inherited from class com.mtp.pounder.RecordingItem
decimalNumberFormat, delay
 
Constructor Summary
MouseMotionItem(Element e, PounderPrefs prefs, ComponentIdentifierFactory f)
           
MouseMotionItem(MouseEvent 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

x

protected double x
Coordinates of pointer relative to parent Window.


y

protected double y
Coordinates of pointer relative to parent Window.


modifiers

protected int modifiers

type

protected int type

count

protected int count
Constructor Detail

MouseMotionItem

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

MouseMotionItem

public MouseMotionItem(MouseEvent 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 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.