public enum ComponentEventSource extends java.lang.Enum<ComponentEventSource>
| Modifier and Type | Class and Description |
|---|---|
static class |
ComponentEventSource.Predicate
Predicates that help with filtering observables for specific component events.
|
| Modifier and Type | Method and Description |
|---|---|
static rx.Observable<java.awt.event.ComponentEvent> |
fromComponentEventsOf(java.awt.Component component) |
static rx.Observable<java.awt.Dimension> |
fromResizing(java.awt.Component component) |
static ComponentEventSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComponentEventSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ComponentEventSource[] values()
for (ComponentEventSource c : ComponentEventSource.values()) System.out.println(c);
public static ComponentEventSource 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.ComponentEvent> fromComponentEventsOf(java.awt.Component component)
public static rx.Observable<java.awt.Dimension> fromResizing(java.awt.Component component)