Enum Timeline.ZoomMode

    • Enum Constant Detail

      • 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 Detail

      • values

        public static Timeline.ZoomMode[] 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 (Timeline.ZoomMode c : Timeline.ZoomMode.values())
            System.out.println(c);
        
        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