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

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

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

 

Represents chart element's dock.

 

Since: 1.0

 

 

Values Summary
Bottom
    
Identifies that element is to be docked to the bottom of chart.
Left
    
Identifies that element is to be docked at the left side of chart.
Right
    
Identifies that element is to be docked at the right side of chart.
Top
    
Identifies that element is to be docked to the top of chart.

 

 

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

 

 

 

 

Left

 

public static final ChartLayoutElement.Dock Left

 

Identifies that element is to be docked at the left side of chart.

 

Since: 1.0

 

 

 

Right

 

public static final ChartLayoutElement.Dock Right

 

Identifies that element is to be docked at the right side of chart.

 

Since: 1.0

 

 

 

Top

 

public static final ChartLayoutElement.Dock Top

 

Identifies that element is to be docked to the top of chart.

 

Since: 1.0

 

 

 

Bottom

 

public static final ChartLayoutElement.Dock Bottom

 

Identifies that element is to be docked to the bottom of chart.

 

Since: 1.0

 

 

 

 

values

 

public static ChartLayoutElement.Dock[] 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.Dock c : ChartLayoutElement.Dock.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.Dock 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.