com.sencha.gxt.chart.client.chart
Enum Chart.Position

java.lang.Object
  extended by java.lang.Enum<Chart.Position>
      extended by com.sencha.gxt.chart.client.chart.Chart.Position
All Implemented Interfaces:
Serializable, Comparable<Chart.Position>
Enclosing class:
Chart<M>

public static enum Chart.Position
extends Enum<Chart.Position>

Enumeration used for items positioned on the chart.


Enum Constant Summary
BOTTOM
          Positioned at the bottom of the chart.
DETACHED
          Position is not fixed.
LEFT
          Positioned at the left of the chart.
RIGHT
          Positioned at the right of the chart.
TOP
          Positioned at the top of the chart.
 
Method Summary
static Chart.Position valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Chart.Position[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TOP

public static final Chart.Position TOP
Positioned at the top of the chart.


BOTTOM

public static final Chart.Position BOTTOM
Positioned at the bottom of the chart.


LEFT

public static final Chart.Position LEFT
Positioned at the left of the chart.


RIGHT

public static final Chart.Position RIGHT
Positioned at the right of the chart.


DETACHED

public static final Chart.Position DETACHED
Position is not fixed.

Method Detail

values

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

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

valueOf

public static Chart.Position 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 © 2011. All Rights Reserved.