- All Implemented Interfaces:
Serializable
,Comparable<Timeline.ZoomMode>
- Enclosing class:
- Timeline
public static enum Timeline.ZoomMode extends Enum<Timeline.ZoomMode>
An enum used to control the way that zooming operations will happen.
- Since:
- 1.0
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTER
The time shown in the middle of the timeline will also be in the middle after the zoom has finished.KEEP_END_TIME
The time shown at the end of the timeline will also be at the end after the zoom has finished.KEEP_START_TIME
The time shown at the beginning of the timeline will also be at the beginning after the zoom has finished. -
Method Summary
Modifier and Type Method Description static Timeline.ZoomMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Timeline.ZoomMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CENTER
The time shown in the middle of the timeline will also be in the middle after the zoom has finished.- Since:
- 1.0
-
KEEP_START_TIME
The time shown at the beginning of the timeline will also be at the beginning after the zoom has finished.- Since:
- 1.0
-
KEEP_END_TIME
The time shown at the end of the timeline will also be at the end after the zoom has finished.- Since:
- 1.0
-
-
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
-