|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ChangeNotification.ChangeType>
displayablecollections.ChangeNotification.ChangeType
public static enum ChangeNotification.ChangeType
The type of change made to a displayable collection or map by operation on it.
Enum Constant Summary | |
---|---|
CLEARED
The entire collection/map was cleared by clear() |
|
ELEMENT_ADDED
An item was added to the collection or map by add() or put() |
|
ELEMENT_MODIFIED
An existing element of a list was modifed by set(), or an existing value in a map was replaced by a new value by put() |
|
ELEMENT_REMOVED
An item was removed from the collection or map by remove() |
Method Summary | |
---|---|
static ChangeNotification.ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChangeNotification.ChangeType[] |
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 |
Enum Constant Detail |
---|
public static final ChangeNotification.ChangeType CLEARED
public static final ChangeNotification.ChangeType ELEMENT_ADDED
public static final ChangeNotification.ChangeType ELEMENT_REMOVED
public static final ChangeNotification.ChangeType ELEMENT_MODIFIED
Method Detail |
---|
public static ChangeNotification.ChangeType[] values()
for (ChangeNotification.ChangeType c : ChangeNotification.ChangeType.values()) System.out.println(c);
public static ChangeNotification.ChangeType 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 null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |