public enum MouseEventSource extends java.lang.Enum<MouseEventSource>
| Modifier and Type | Method and Description |
|---|---|
static rx.Observable<java.awt.event.MouseEvent> |
fromMouseEventsOf(java.awt.Component component) |
static rx.Observable<java.awt.event.MouseEvent> |
fromMouseMotionEventsOf(java.awt.Component component) |
static rx.Observable<java.awt.Point> |
fromRelativeMouseMotion(java.awt.Component component) |
static MouseEventSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MouseEventSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static MouseEventSource[] values()
for (MouseEventSource c : MouseEventSource.values()) System.out.println(c);
public static MouseEventSource 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.MouseEvent> fromMouseEventsOf(java.awt.Component component)
public static rx.Observable<java.awt.event.MouseEvent> fromMouseMotionEventsOf(java.awt.Component component)
public static rx.Observable<java.awt.Point> fromRelativeMouseMotion(java.awt.Component component)