Package repast.simphony.chart2
Enum OutOfRangeHandling
- java.lang.Object
-
- java.lang.Enum<OutOfRangeHandling>
-
- repast.simphony.chart2.OutOfRangeHandling
-
- All Implemented Interfaces:
Serializable
,Comparable<OutOfRangeHandling>
public enum OutOfRangeHandling extends Enum<OutOfRangeHandling>
An enumeration of how values that are out of range should be displayed on a histogram.- Author:
- Jerry Vos
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutOfRangeHandling
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutOfRangeHandling[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final OutOfRangeHandling IGNORE
-
ADD
public static final OutOfRangeHandling ADD
-
DISPLAY
public static final OutOfRangeHandling DISPLAY
-
-
Method Detail
-
values
public static OutOfRangeHandling[] 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 (OutOfRangeHandling c : OutOfRangeHandling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutOfRangeHandling 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
-
-