Summ:  Values Methods    Details:  Values Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Enum ChartLayoutElement.Alignment

java.lang.Object java.lang.Enum<ChartLayoutElement.Alignment> com.artfulbits.aiCharts.Base.ChartLayoutElement.Alignment

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

 

Represents chart element's alignment.

 

Since: 1.0

 

 

Values Summary
Center
    
Centered disregarding element's orientation.
Far
    
Right or Bottom depending on element's orientation.
Near
    
Left or Top depending on element's orientation.
Stretch
    
Stretch disregarding element's orientation.

 

 

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

 

 

 

 

Near

 

public static final ChartLayoutElement.Alignment Near

 

Left or Top depending on element's orientation.

 

Since: 1.0

 

 

 

Center

 

public static final ChartLayoutElement.Alignment Center

 

Centered disregarding element's orientation.

 

Since: 1.0

 

 

 

Far

 

public static final ChartLayoutElement.Alignment Far

 

Right or Bottom depending on element's orientation.

 

Since: 1.0

 

 

 

Stretch

 

public static final ChartLayoutElement.Alignment Stretch

 

Stretch disregarding element's orientation.

 

Since: 1.0

 

 

 

 

values

 

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

 

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

 

 

 

valueOf

 

public static ChartLayoutElement.Alignment 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.