Summ:  Values Methods    Details:  Values Methods      Class:  Prev Next
com.artfulbits.aiCharts.Enums
Enum CoordinateSystem

java.lang.Object java.lang.Enum<CoordinateSystem> com.artfulbits.aiCharts.Enums.CoordinateSystem

Declaration: public enum CoordinateSystem extends Enum<CoordinateSystem>
All Interfaces: java.lang.Comparable<CoordinateSystem>, java.io.Serializable

 

Represents coordinate systems that are used by the aiCharts building engine.

 

Since: 1.0

 

 

Values Summary
Cartesian
    
Identifies usage of Cartesian coordinate system.
None
    
Identifies no coordinate system.
Polar
    
Identifies usage of Polar coordinate system.

 

 

Methods Summary
static CoordinateSystem valueOf(java.lang.String name)
    
Returns the enum constant of this type with the specified name.
static CoordinateSystem[] 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

 

 

 

 

Cartesian

 

public static final CoordinateSystem Cartesian

 

Identifies usage of Cartesian coordinate system. A coordinate system in which the coordinates of a point are its distances from a set of perpendicular lines that intersect at an origin, such as two lines in a plane or three in space.

 

Since: 1.0

 

 

 

Polar

 

public static final CoordinateSystem Polar

 

Identifies usage of Polar coordinate system. A two-dimensional coordinate system in which each point on a plane is determined by a distance from a fixed point and an angle from a fixed direction.

 

Since: 1.0

 

 

 

None

 

public static final CoordinateSystem None

 

Identifies no coordinate system. Used for chart types that do not require coordinate system to be drawn (such as pie type).

 

Since: 1.0

 

 

 

 

values

 

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

 

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

 

 

 

valueOf

 

public static CoordinateSystem valueOf( java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.