Enum TickSettings.TickMode

  • All Implemented Interfaces:
    Serializable, Comparable<TickSettings.TickMode>
    Enclosing class:
    TickSettings

    public static enum TickSettings.TickMode
    extends Enum<TickSettings.TickMode>
    Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` If "array", the placement of the ticks is set via `tickvals` and the tick text is `ticktext`.
    • Method Detail

      • values

        public static TickSettings.TickMode[] 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 (TickSettings.TickMode c : TickSettings.TickMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TickSettings.TickMode 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