de.erichseifert.gral.plots.axes
Enum Tick.TickType

java.lang.Object
  extended by java.lang.Enum<Tick.TickType>
      extended by de.erichseifert.gral.plots.axes.Tick.TickType
All Implemented Interfaces:
Serializable, Comparable<Tick.TickType>
Enclosing class:
Tick

public static enum Tick.TickType
extends Enum<Tick.TickType>

Type of tick mark.


Enum Constant Summary
CUSTOM
          User-defined tick mark.
MAJOR
          Major tick mark.
MINOR
          Minor tick mark.
 
Method Summary
static Tick.TickType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Tick.TickType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MAJOR

public static final Tick.TickType MAJOR
Major tick mark.


MINOR

public static final Tick.TickType MINOR
Minor tick mark.


CUSTOM

public static final Tick.TickType CUSTOM
User-defined tick mark.

Method Detail

values

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

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Tick.TickType 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


Copyright © 2009-2010. All Rights Reserved.