com.androidplot.xy
Enum XYStepMode
java.lang.Object
java.lang.Enum<XYStepMode>
com.androidplot.xy.XYStepMode
- All Implemented Interfaces:
- Serializable, Comparable<XYStepMode>
public enum XYStepMode
- extends Enum<XYStepMode>
INCREMENTAL_VALUE - (default) draw a tick every n values.
INCREMENTAL_PIXEL - draw a tick every n pixels.
SUBDIVIDE - draw n number of evenly spaced ticks.
Method Summary |
static XYStepMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static XYStepMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
SUBDIVIDE
public static final XYStepMode SUBDIVIDE
INCREMENT_BY_VAL
public static final XYStepMode INCREMENT_BY_VAL
INCREMENT_BY_PIXELS
public static final XYStepMode INCREMENT_BY_PIXELS
values
public static XYStepMode[] 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 (XYStepMode c : XYStepMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XYStepMode 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.