com.dukascopy.api.chart
Enum IChartTheme.Predefined

java.lang.Object
  extended by java.lang.Enum<IChartTheme.Predefined>
      extended by com.dukascopy.api.chart.IChartTheme.Predefined
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IChartTheme.Predefined>
Enclosing interface:
IChartTheme

public static enum IChartTheme.Predefined
extends java.lang.Enum<IChartTheme.Predefined>

Predefined chart theme enumeration, use it in IClientChartPresentationManager.getPredefinedTheme


Enum Constant Summary
BLUE_BLACK_ON_GRAY
           
BLUE_BLACK_ON_WHITE
           
RED_GREEN_ON_WHITE
           
 
Method Summary
static IChartTheme.Predefined getDefault()
           
 java.lang.String getName()
           
 boolean isDefault()
           
 java.lang.String toString()
           
static IChartTheme.Predefined valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IChartTheme.Predefined[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RED_GREEN_ON_WHITE

public static final IChartTheme.Predefined RED_GREEN_ON_WHITE

BLUE_BLACK_ON_GRAY

public static final IChartTheme.Predefined BLUE_BLACK_ON_GRAY

BLUE_BLACK_ON_WHITE

public static final IChartTheme.Predefined BLUE_BLACK_ON_WHITE
Method Detail

values

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

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

valueOf

public static IChartTheme.Predefined 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

getDefault

public static IChartTheme.Predefined getDefault()

getName

public java.lang.String getName()

isDefault

public boolean isDefault()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<IChartTheme.Predefined>