org.openqa.selenium.htmlunit
Class KeyboardModifiersState

java.lang.Object
  extended by org.openqa.selenium.htmlunit.KeyboardModifiersState

public class KeyboardModifiersState
extends java.lang.Object

Holds the state of the modifier keys (Shift, ctrl, alt) for HtmlUnit.


Constructor Summary
KeyboardModifiersState()
           
 
Method Summary
 boolean isAltPressed()
           
 boolean isCtrlPressed()
           
 boolean isShiftPressed()
           
 void storeKeyDown(Keys key)
           
 void storeKeyUp(Keys key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyboardModifiersState

public KeyboardModifiersState()
Method Detail

isShiftPressed

public boolean isShiftPressed()

isCtrlPressed

public boolean isCtrlPressed()

isAltPressed

public boolean isAltPressed()

storeKeyDown

public void storeKeyDown(Keys key)

storeKeyUp

public void storeKeyUp(Keys key)


Copyright © 2011. All Rights Reserved.