Package elki.visualization
Enum VisualizationTask.UpdateFlag
- java.lang.Object
-
- java.lang.Enum<VisualizationTask.UpdateFlag>
-
- elki.visualization.VisualizationTask.UpdateFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VisualizationTask.UpdateFlag>
- Enclosing class:
- VisualizationTask
public static enum VisualizationTask.UpdateFlag extends java.lang.Enum<VisualizationTask.UpdateFlag>
Update flags enum.TODO: can these be replaced by listeners?
- Author:
- Erich Schubert
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ON_DATAWhen data changesON_SAMPLEWhen sample changesON_SELECTIONWhen selection changesON_STYLEPOLICYWhen style changes
-
Field Summary
Fields Modifier and Type Field Description (package private) intbitBit.
-
Constructor Summary
Constructors Modifier Constructor Description privateUpdateFlag(int bit)Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VisualizationTask.UpdateFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VisualizationTask.UpdateFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_DATA
public static final VisualizationTask.UpdateFlag ON_DATA
When data changes
-
ON_SELECTION
public static final VisualizationTask.UpdateFlag ON_SELECTION
When selection changes
-
ON_STYLEPOLICY
public static final VisualizationTask.UpdateFlag ON_STYLEPOLICY
When style changes
-
ON_SAMPLE
public static final VisualizationTask.UpdateFlag ON_SAMPLE
When sample changes
-
-
Method Detail
-
values
public static VisualizationTask.UpdateFlag[] 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 (VisualizationTask.UpdateFlag c : VisualizationTask.UpdateFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VisualizationTask.UpdateFlag 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 namejava.lang.NullPointerException- if the argument is null
-
-