com.dukascopy.api
Enum IChart.Type

java.lang.Object
  extended by java.lang.Enum<IChart.Type>
      extended by com.dukascopy.api.IChart.Type
All Implemented Interfaces:
Serializable, Comparable<IChart.Type>
Enclosing interface:
IChart

public static enum IChart.Type
extends Enum<IChart.Type>

Type of the graphical object


Enum Constant Summary
CHANNEL
          Equidistant channel lines
CYCLES
          Cycle lines (periods)
ELLIPSE
          Ellipse
EXPANSION
          Expansion
FIBO
          Retracement
FIBOARC
          Arcs
FIBOCHANNEL
          Fibonacci channel lines
FIBOFAN
          Fan
FIBOTIMES
          Time zones
GANNFAN
          Gann fan
GANNGRID
          Gann grid
GANNLINE
          Gann line
HLINE
          Horizontal line
LABEL
          Text label
LONG_LINE
          Long line drawn through two points
ORDER_LINE
           
PERCENT
          Percent (horizontal)
PITCHFORK
          Andrew's pitchfork
POLY_LINE
          Multiple line between many points
PRICEMARKER
          Horizontal line with price text
RECTANGLE
          Rectangle
REGRESSION
          Linear regression
SHORT_LINE
          Short line between two points
SIGNAL_DOWN
          Arrow down
SIGNAL_UP
          Arrow up
STDDEVCHANNEL
          Standard deviation
TEXT
          Text
TIMEMARKER
          Vertical line with time text
TREND
          Trend line
TRENDBYANGLE
          Trend line by angle
TRIANGLE
          Triangle
VLINE
          Vertical line
 
Method Summary
static IChart.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IChart.Type[] 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
 

Enum Constant Detail

VLINE

public static final IChart.Type VLINE
Vertical line


HLINE

public static final IChart.Type HLINE
Horizontal line


ORDER_LINE

public static final IChart.Type ORDER_LINE

TIMEMARKER

public static final IChart.Type TIMEMARKER
Vertical line with time text


PRICEMARKER

public static final IChart.Type PRICEMARKER
Horizontal line with price text


POLY_LINE

public static final IChart.Type POLY_LINE
Multiple line between many points


SHORT_LINE

public static final IChart.Type SHORT_LINE
Short line between two points


LONG_LINE

public static final IChart.Type LONG_LINE
Long line drawn through two points


TREND

public static final IChart.Type TREND
Trend line


TRENDBYANGLE

public static final IChart.Type TRENDBYANGLE
Trend line by angle


FIBOCHANNEL

public static final IChart.Type FIBOCHANNEL
Fibonacci channel lines


REGRESSION

public static final IChart.Type REGRESSION
Linear regression


CHANNEL

public static final IChart.Type CHANNEL
Equidistant channel lines


STDDEVCHANNEL

public static final IChart.Type STDDEVCHANNEL
Standard deviation


GANNLINE

public static final IChart.Type GANNLINE
Gann line


GANNFAN

public static final IChart.Type GANNFAN
Gann fan


GANNGRID

public static final IChart.Type GANNGRID
Gann grid


FIBO

public static final IChart.Type FIBO
Retracement


FIBOTIMES

public static final IChart.Type FIBOTIMES
Time zones


FIBOFAN

public static final IChart.Type FIBOFAN
Fan


FIBOARC

public static final IChart.Type FIBOARC
Arcs


EXPANSION

public static final IChart.Type EXPANSION
Expansion


RECTANGLE

public static final IChart.Type RECTANGLE
Rectangle


TRIANGLE

public static final IChart.Type TRIANGLE
Triangle


ELLIPSE

public static final IChart.Type ELLIPSE
Ellipse


PITCHFORK

public static final IChart.Type PITCHFORK
Andrew's pitchfork


CYCLES

public static final IChart.Type CYCLES
Cycle lines (periods)


PERCENT

public static final IChart.Type PERCENT
Percent (horizontal)


TEXT

public static final IChart.Type TEXT
Text


LABEL

public static final IChart.Type LABEL
Text label


SIGNAL_UP

public static final IChart.Type SIGNAL_UP
Arrow up


SIGNAL_DOWN

public static final IChart.Type SIGNAL_DOWN
Arrow down

Method Detail

values

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

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

valueOf

public static IChart.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2009. All Rights Reserved.