org.openqa.selenium.support.events.internal
Class EventFiringMouse

java.lang.Object
  extended by org.openqa.selenium.support.events.internal.EventFiringMouse
All Implemented Interfaces:
Mouse

public class EventFiringMouse
extends Object
implements Mouse

A mouse that fires events.


Constructor Summary
EventFiringMouse(WebDriver driver, WebDriverEventListener dispatcher)
           
 
Method Summary
 void click(Coordinates where)
           
 void contextClick(Coordinates where)
           
 void doubleClick(Coordinates where)
           
 void mouseDown(Coordinates where)
           
 void mouseMove(Coordinates where)
           
 void mouseMove(Coordinates where, long xOffset, long yOffset)
           
 void mouseUp(Coordinates where)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventFiringMouse

public EventFiringMouse(WebDriver driver,
                        WebDriverEventListener dispatcher)
Method Detail

click

public void click(Coordinates where)
Specified by:
click in interface Mouse

doubleClick

public void doubleClick(Coordinates where)
Specified by:
doubleClick in interface Mouse

mouseDown

public void mouseDown(Coordinates where)
Specified by:
mouseDown in interface Mouse

mouseUp

public void mouseUp(Coordinates where)
Specified by:
mouseUp in interface Mouse

mouseMove

public void mouseMove(Coordinates where)
Specified by:
mouseMove in interface Mouse

mouseMove

public void mouseMove(Coordinates where,
                      long xOffset,
                      long yOffset)
Specified by:
mouseMove in interface Mouse

contextClick

public void contextClick(Coordinates where)
Specified by:
contextClick in interface Mouse


Copyright © 2011. All Rights Reserved.