JIDE 3.5.15

com.jidesoft.chart.axis
Enum AxisPlacement

java.lang.Object
  extended by java.lang.Enum<AxisPlacement>
      extended by com.jidesoft.chart.axis.AxisPlacement
All Implemented Interfaces:
Serializable, Comparable<AxisPlacement>

public enum AxisPlacement
extends Enum<AxisPlacement>

EAxisPlacement is used to specify where to put an axis on a chart. There are four possible values:

For horizontal placement, LEADING means on the left and TRAILING means on the right. For vertical placement, LEADING means on the bottom and TRAILING means on the top.

Floating means that the axes can move when the chart is panned.

This approach means that we can easily switch the orientation of the axis and still have meaningful placement values for an axis.

Author:
Simon White (swhite@catalysoft.com)

Enum Constant Summary
CENTER
           
FLOATING
           
LEADING
           
TRAILING
           
 
Method Summary
static AxisPlacement valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AxisPlacement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LEADING

public static final AxisPlacement LEADING

TRAILING

public static final AxisPlacement TRAILING

CENTER

public static final AxisPlacement CENTER

FLOATING

public static final AxisPlacement FLOATING
Method Detail

values

public static AxisPlacement[] 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 (AxisPlacement c : AxisPlacement.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AxisPlacement 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

JIDE 3.5.15