com.androidplot.xy
Enum FillDirection
java.lang.Object
java.lang.Enum<FillDirection>
com.androidplot.xy.FillDirection
- All Implemented Interfaces:
- Serializable, Comparable<FillDirection>
public enum FillDirection
- extends Enum<FillDirection>
Defines which edge is used to close a fill path for drawing lines.
TOP - Use the top edge of the plot.
BOTTOM - Use the bottom edge of the plot.
LEFT - (Not implemented) Use the left edge of the plot.
RIGHT - (Not implemented) Use the right edge of the plot.
DOMAIN_ORIGIN - (Not implemented) Use the domain origin line.
RANGE_ORIGIN - Use the range origin line.
Method Summary |
static FillDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FillDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
TOP
public static final FillDirection TOP
BOTTOM
public static final FillDirection BOTTOM
LEFT
public static final FillDirection LEFT
RIGHT
public static final FillDirection RIGHT
DOMAIN_ORIGIN
public static final FillDirection DOMAIN_ORIGIN
RANGE_ORIGIN
public static final FillDirection RANGE_ORIGIN
values
public static FillDirection[] 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 (FillDirection c : FillDirection.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FillDirection 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.