|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<KeyEventSource>
rx.swing.sources.KeyEventSource
public enum KeyEventSource
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic static rx.Observable<java.awt.event.KeyEvent> fromKeyEventsOf(java.awt.Component component)
SwingObservable.fromKeyEvents(Component)public static rx.Observable<java.util.Set<java.lang.Integer>> currentlyPressedKeysOf(java.awt.Component component)
SwingObservable.fromPressedKeys(Component)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||