com.atlassian.webtest.ui.keys
Class KeySequenceBuilder
java.lang.Object
com.atlassian.webtest.ui.keys.KeySequenceBuilder
- All Implemented Interfaces:
- KeyEventAware
public final class KeySequenceBuilder
- extends Object
- implements KeyEventAware
For easy and efficient instantiation of KeySequences.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeySequenceBuilder
public KeySequenceBuilder()
KeySequenceBuilder
public KeySequenceBuilder(List<Key> keys)
KeySequenceBuilder
public KeySequenceBuilder(Key... keys)
KeySequenceBuilder
public KeySequenceBuilder(String characterKeys)
append
public KeySequenceBuilder append(String characterKeys)
append
public KeySequenceBuilder append(Key... keys)
append
public KeySequenceBuilder append(Collection<Key> keys)
withPressed
public KeySequenceBuilder withPressed(ModifierKey key)
keyEvents
public KeySequenceBuilder keyEvents(KeyEventType... events)
keyEvents
public KeySequenceBuilder keyEvents(Collection<KeyEventType> events)
keyEvents
public Set<KeyEventType> keyEvents()
- Description copied from interface:
KeyEventAware
- Set of key events associated with this object.
- Specified by:
keyEvents in interface KeyEventAware
- Returns:
- set of key event types
typeMode
public KeySequenceBuilder typeMode(TypeMode typeMode)
size
public int size()
build
public KeySequence build()
Copyright © 2014 Atlassian. All rights reserved.