net.sf.dynamicreports.report.constant
Enum RunDirection
java.lang.Object
java.lang.Enum<RunDirection>
net.sf.dynamicreports.report.constant.RunDirection
- All Implemented Interfaces:
- Serializable, Comparable<RunDirection>
public enum RunDirection
- extends Enum<RunDirection>
- Author:
- Ricardo Mariaca (r.mariaca@dynamicreports.org)
Method Summary |
static RunDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RunDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
LEFT_TO_RIGHT
public static final RunDirection LEFT_TO_RIGHT
RIGHT_TO_LEFT
public static final RunDirection RIGHT_TO_LEFT
values
public static RunDirection[] 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 (RunDirection c : RunDirection.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RunDirection 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-2014. All Rights Reserved.