Enum Class VisualSet.UpdatePolicy
java.lang.Object
java.lang.Enum<VisualSet.UpdatePolicy>
com.amalgamasimulation.charts.visualsets.VisualSet.UpdatePolicy
- All Implemented Interfaces:
Serializable,Comparable<VisualSet.UpdatePolicy>,Constable
Enumeration that determines a policy of how the visual set is updated in
response to an update of underlying collection of visual elements
corresponding data elements.
- Author:
- Aleksey Kirillov
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUpdate visual elements only for data elements that have been appended after the last updateUpdate visual elements for all data elements every time the chart is being redrawnDo not update the visual elements until explicitly asked to update by callingVisualSet.update()method -
Method Summary
Modifier and TypeMethodDescriptionstatic VisualSet.UpdatePolicyReturns the enum constant of this class with the specified name.static VisualSet.UpdatePolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DYNAMIC
Update visual elements for all data elements every time the chart is being redrawn -
APPEND_ONLY
Update visual elements only for data elements that have been appended after the last update -
MANUAL
Do not update the visual elements until explicitly asked to update by callingVisualSet.update()method
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-