Summ:  Values Methods    Details:  Values Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Enum ChartAxis.ValueType

java.lang.Object java.lang.Enum<ChartAxis.ValueType> com.artfulbits.aiCharts.Base.ChartAxis.ValueType

Declaration: public static enum ChartAxis.ValueType extends Enum<ChartAxis.ValueType>
Enclosing Class: ChartAxis
All Interfaces: java.lang.Comparable<ChartAxis.ValueType>, java.io.Serializable

 

Identifies type of value that is represented by axis labels.

 

Since: 1.0

 

 

Values Summary
Date
    
X values of corresponding points collection are considered to be java.util.Date values.
Double
    
X values of corresponding points collection are considered to be java.lang.Double values.

 

 

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

 

 

 

 

Double

 

public static final ChartAxis.ValueType Double

 

X values of corresponding points collection are considered to be java.lang.Double values.

 

Since: 1.0

 

 

 

Date

 

public static final ChartAxis.ValueType Date

 

X values of corresponding points collection are considered to be java.util.Date values.

 

Since: 1.0

 

 

 

 

values

 

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

 

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

 

 

 

valueOf

 

public static ChartAxis.ValueType 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.