com.androidplot.xy
Enum XYAxisType
java.lang.Object
java.lang.Enum<XYAxisType>
com.androidplot.xy.XYAxisType
- All Implemented Interfaces:
- Serializable, Comparable<XYAxisType>
public enum XYAxisType
- extends Enum<XYAxisType>
Method Summary |
static XYAxisType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static XYAxisType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
DOMAIN
public static final XYAxisType DOMAIN
RANGE
public static final XYAxisType RANGE
values
public static XYAxisType[] 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 (XYAxisType c : XYAxisType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XYAxisType 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 © 2010-2013 androidplot.com. All Rights Reserved.