Summ:  Values Methods    Details:  Values Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Enum ChartLegend.LayoutMode

java.lang.Object java.lang.Enum<ChartLegend.LayoutMode> com.artfulbits.aiCharts.Base.ChartLegend.LayoutMode

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

 

Represents legend items layout mode.

 

Since: 1.5

 

 

Values Summary
Auto
    
Legend items layout will be determined automatically.
Horizontal
    
Legend items will be rendered horizontally.
Vertical
    
Legend items will be rendered vertically.

 

 

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

 

 

 

 

Vertical

 

public static final ChartLegend.LayoutMode Vertical

 

Legend items will be rendered vertically.

 

Since: 1.5

 

 

 

Horizontal

 

public static final ChartLegend.LayoutMode Horizontal

 

Legend items will be rendered horizontally.

 

Since: 1.5

 

 

 

Auto

 

public static final ChartLegend.LayoutMode Auto

 

Legend items layout will be determined automatically.

 

Since: 1.5

 

 

 

 

values

 

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

 

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

 

 

 

valueOf

 

public static ChartLegend.LayoutMode 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.