Package adams.gui.event
Enum DataChangeEvent.Type
- java.lang.Object
-
- java.lang.Enum<DataChangeEvent.Type>
-
- adams.gui.event.DataChangeEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<DataChangeEvent.Type>
- Enclosing class:
- DataChangeEvent
public static enum DataChangeEvent.Type extends Enum<DataChangeEvent.Type>
the type of event.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDITION
a container was added.BULK_UPDATE
a larger update finished.CLEAR
all data was removed.REMOVAL
a container was removed.REPLACEMENT
a container was replaced.SEARCH
whether a search was performed.UPDATE
an update finished.VISIBILITY
the visibility of a container got changed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataChangeEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataChangeEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEAR
public static final DataChangeEvent.Type CLEAR
all data was removed.
-
ADDITION
public static final DataChangeEvent.Type ADDITION
a container was added.
-
REMOVAL
public static final DataChangeEvent.Type REMOVAL
a container was removed.
-
REPLACEMENT
public static final DataChangeEvent.Type REPLACEMENT
a container was replaced.
-
UPDATE
public static final DataChangeEvent.Type UPDATE
an update finished.
-
BULK_UPDATE
public static final DataChangeEvent.Type BULK_UPDATE
a larger update finished.
-
VISIBILITY
public static final DataChangeEvent.Type VISIBILITY
the visibility of a container got changed.
-
SEARCH
public static final DataChangeEvent.Type SEARCH
whether a search was performed.
-
-
Method Detail
-
values
public static DataChangeEvent.Type[] 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 (DataChangeEvent.Type c : DataChangeEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataChangeEvent.Type valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-