public enum CollectionChangeType extends java.lang.Enum<CollectionChangeType>
Enum Constant and Description |
---|
ADD_ITEMS
Some items were added to the collection.
|
REFRESH
The collection was completely replaced or otherwise changed in such a way that the framework cannot determine
what exactly items were added or removed.
|
REMOVE_ITEMS
Some items were removed from the collection.
|
SET_ITEM
An item was replaced in the collection.
|
Modifier and Type | Method and Description |
---|---|
static CollectionChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionChangeType REFRESH
public static final CollectionChangeType ADD_ITEMS
public static final CollectionChangeType REMOVE_ITEMS
public static final CollectionChangeType SET_ITEM
public static CollectionChangeType[] values()
for (CollectionChangeType c : CollectionChangeType.values()) System.out.println(c);
public static CollectionChangeType 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 null