public enum KeyEventSource extends java.lang.Enum<KeyEventSource>
| Modifier and Type | Method and Description |
|---|---|
static rx.Observable<java.util.Set<java.lang.Integer>> |
currentlyPressedKeysOf(java.awt.Component component) |
static rx.Observable<java.awt.event.KeyEvent> |
fromKeyEventsOf(java.awt.Component component) |
static KeyEventSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyEventSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static KeyEventSource[] values()
for (KeyEventSource c : KeyEventSource.values()) System.out.println(c);
public static KeyEventSource valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static rx.Observable<java.awt.event.KeyEvent> fromKeyEventsOf(java.awt.Component component)
public static rx.Observable<java.util.Set<java.lang.Integer>> currentlyPressedKeysOf(java.awt.Component component)