Enum Timeline.ZoomMode

java.lang.Object
java.lang.Enum<Timeline.ZoomMode>
com.flexganttfx.view.timeline.Timeline.ZoomMode
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 Details

    • CENTER

      public static final Timeline.ZoomMode 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

      public static final Timeline.ZoomMode 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

      public static final Timeline.ZoomMode 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

      public static Timeline.ZoomMode[] 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

      public static Timeline.ZoomMode 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 name
      NullPointerException - if the argument is null