- java.lang.Object
-
- java.lang.Enum<DomainOrder>
-
- org.jfree.data.DomainOrder
-
- All Implemented Interfaces:
Serializable,Comparable<DomainOrder>
public enum DomainOrder extends Enum<DomainOrder>
Used to indicate sorting order if any (ascending, descending or none).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCENDINGAscending order.DESCENDINGDescending order.NONENo order.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DomainOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static DomainOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DomainOrder NONE
No order.
-
ASCENDING
public static final DomainOrder ASCENDING
Ascending order.
-
DESCENDING
public static final DomainOrder DESCENDING
Descending order.
-
-
Method Detail
-
values
public static DomainOrder[] 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 (DomainOrder c : DomainOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DomainOrder 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 nameNullPointerException- if the argument is null
-
-