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

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

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

 

Determines axis labels position relatively to axis line.

 

Since: 1.0

 

 

Values Summary
Center
    
Labels are centered to axis line.
Inside
    
Labels are rendered inside the axis line.
Outside
    
Labels are rendered outside of axis line.

 

 

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

 

 

 

 

Outside

 

public static final ChartAxis.LabelPosition Outside

 

Labels are rendered outside of axis line.

 

Since: 1.0

 

 

 

Center

 

public static final ChartAxis.LabelPosition Center

 

Labels are centered to axis line.

 

Since: 1.0

 

 

 

Inside

 

public static final ChartAxis.LabelPosition Inside

 

Labels are rendered inside the axis line.

 

Since: 1.0

 

 

 

 

values

 

public static ChartAxis.LabelPosition[] 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.LabelPosition c : ChartAxis.LabelPosition.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.LabelPosition 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.