Enum GraphView.ZoomMode

java.lang.Object
java.lang.Enum<GraphView.ZoomMode>
org.bzdev.anim2d.GraphView.ZoomMode
All Implemented Interfaces:
Serializable, Comparable<GraphView.ZoomMode>
Enclosing class:
GraphView

public static enum GraphView.ZoomMode extends Enum<GraphView.ZoomMode>
Mode for setting zoom values in GraphView factories.
  • Enum Constant Details

    • KEEP

      public static final GraphView.ZoomMode KEEP
      Keep the current value
    • SET_VALUE

      public static final GraphView.ZoomMode SET_VALUE
      Set the zoom value explicitly.
    • SET_RATE

      public static final GraphView.ZoomMode SET_RATE
      Set the logarithmic zoom rate.
    • SET_TARGET

      public static final GraphView.ZoomMode SET_TARGET
      Set the rate so that a target value is reached after a specified time interval.
  • Method Details

    • values

      public static GraphView.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 GraphView.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