com.dukascopy.api
Enum DataType.DataPresentationType

java.lang.Object
  extended by java.lang.Enum<DataType.DataPresentationType>
      extended by com.dukascopy.api.DataType.DataPresentationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DataType.DataPresentationType>
Enclosing class:
DataType

public static enum DataType.DataPresentationType
extends java.lang.Enum<DataType.DataPresentationType>


Enum Constant Summary
BAR
          Supported by following DataTypes: Ticks, TickBar, TimePeriodAggregation, PointAndFigure
BOX
          Supported by following DataTypes: PointAndFigure
BRICK
          Supported by following DataTypes: Renko
CANDLE
          Supported by following DataTypes: TickBar, TimePeriodAggregation, PriceRangeAggregation
LINE
          Supported by following DataTypes: Ticks, TimePeriodAggregation
RANGE_BAR
          Supported by following DataTypes: PriceRangeAggregation
TABLE
          Supported by following DataTypes: Ticks, TickBar, TimePeriodAggregation, PriceRangeAggregation, PointAndFigure, Renko
WICK
          Supported by following DataTypes: Renko
 
Method Summary
static DataType.DataPresentationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DataType.DataPresentationType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LINE

public static final DataType.DataPresentationType LINE
Supported by following DataTypes: Ticks, TimePeriodAggregation


BAR

public static final DataType.DataPresentationType BAR
Supported by following DataTypes: Ticks, TickBar, TimePeriodAggregation, PointAndFigure


BOX

public static final DataType.DataPresentationType BOX
Supported by following DataTypes: PointAndFigure


RANGE_BAR

public static final DataType.DataPresentationType RANGE_BAR
Supported by following DataTypes: PriceRangeAggregation


CANDLE

public static final DataType.DataPresentationType CANDLE
Supported by following DataTypes: TickBar, TimePeriodAggregation, PriceRangeAggregation


BRICK

public static final DataType.DataPresentationType BRICK
Supported by following DataTypes: Renko


WICK

public static final DataType.DataPresentationType WICK
Supported by following DataTypes: Renko


TABLE

public static final DataType.DataPresentationType TABLE
Supported by following DataTypes: Ticks, TickBar, TimePeriodAggregation, PriceRangeAggregation, PointAndFigure, Renko

Method Detail

values

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

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

valueOf

public static DataType.DataPresentationType 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