org.openqa.selenium.htmlunit
Class KeyboardModifiersState
java.lang.Object
org.openqa.selenium.htmlunit.KeyboardModifiersState
public class KeyboardModifiersState
- extends Object
Holds the state of the modifier keys (Shift, ctrl, alt) for HtmlUnit.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyboardModifiersState
public KeyboardModifiersState()
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.