RxJava
rx.swing.sources
Enum ComponentEventSource.Predicate
java.lang.Object
java.lang.Enum<ComponentEventSource.Predicate>
rx.swing.sources.ComponentEventSource.Predicate
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ComponentEventSource.Predicate>, rx.util.functions.Func1<java.awt.event.ComponentEvent,java.lang.Boolean>, rx.util.functions.Function
- Enclosing class:
- ComponentEventSource
public static enum ComponentEventSource.Predicate
- extends java.lang.Enum<ComponentEventSource.Predicate>
- implements rx.util.functions.Func1<java.awt.event.ComponentEvent,java.lang.Boolean>
Predicates that help with filtering observables for specific component events.
| 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 |
RESIZED
public static final ComponentEventSource.Predicate RESIZED
HIDDEN
public static final ComponentEventSource.Predicate HIDDEN
MOVED
public static final ComponentEventSource.Predicate MOVED
SHOWN
public static final ComponentEventSource.Predicate SHOWN
values
public static ComponentEventSource.Predicate[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ComponentEventSource.Predicate c : ComponentEventSource.Predicate.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ComponentEventSource.Predicate valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
call
public java.lang.Boolean call(java.awt.event.ComponentEvent event)
- Specified by:
call in interface rx.util.functions.Func1<java.awt.event.ComponentEvent,java.lang.Boolean>