- All Implemented Interfaces:
Serializable
,Comparable<GraphView.ZoomMode>
- Enclosing class:
- GraphView
Mode for setting zoom values in GraphView factories.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionKeep the current valueSet the logarithmic zoom rate.Set the rate so that a target value is reached after a specified time interval.Set the zoom value explicitly. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphView.ZoomMode
Returns the enum constant of this type with the specified name.static GraphView.ZoomMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KEEP
Keep the current value -
SET_VALUE
Set the zoom value explicitly. -
SET_RATE
Set the logarithmic zoom rate. -
SET_TARGET
Set the rate so that a target value is reached after a specified time interval.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-