com.dukascopy.api.indicators
Enum OutputParameterInfo.DrawingStyle

java.lang.Object
  extended by java.lang.Enum<OutputParameterInfo.DrawingStyle>
      extended by com.dukascopy.api.indicators.OutputParameterInfo.DrawingStyle
All Implemented Interfaces:
Serializable, Comparable<OutputParameterInfo.DrawingStyle>
Enclosing class:
OutputParameterInfo

public static enum OutputParameterInfo.DrawingStyle
extends Enum<OutputParameterInfo.DrawingStyle>

Specifies how to draw output


Enum Constant Summary
ARROW_SYMBOL_DOWN
          Draw arrow symbol at non NaN or no Integer.MIN_VALUE values
ARROW_SYMBOL_UP
          Draws arrow symbol at non NaN or no Integer.MIN_VALUE values
DASH_LINE
          Show output as dashed line
DASHDOT_LINE
          Show output as dashed and dotted line
DASHDOTDOT_LINE
          Show output as dashed and double dotted line
DOT_LINE
          Show output as dotted line
DOTS
          Show output as dots
HISTOGRAM
          Show output as histogram
LEVEL_DASH_LINE
          Show output as dashed level.
LEVEL_DASHDOT_LINE
          Show output as dashed and dotted level.
LEVEL_DASHDOTDOT_LINE
          Show output as dashed and double dotted level.
LEVEL_DOT_LINE
          Show output as dotted level.
LEVEL_LINE
          Show output as level.
LINE
          Show output as line
NONE
          Don't draw anything
PATTERN_BOOL
          If value is not zero, then draw pattern
PATTERN_BULL_BEAR
          If value: == 0 - no pattern > 0 - bullish < 0 - bearish
PATTERN_STRENGTH
          If value: == 0 - neutral ]0..100] getting bullish ]100.. bullish [-100..0[ getting bearish ..100[ bearish
 
Method Summary
static OutputParameterInfo.DrawingStyle fromFlagValue(int flag)
           
 int getFlagValue()
           
static OutputParameterInfo.DrawingStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OutputParameterInfo.DrawingStyle[] 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

NONE

public static final OutputParameterInfo.DrawingStyle NONE
Don't draw anything


LINE

public static final OutputParameterInfo.DrawingStyle LINE
Show output as line


DOT_LINE

public static final OutputParameterInfo.DrawingStyle DOT_LINE
Show output as dotted line


DASH_LINE

public static final OutputParameterInfo.DrawingStyle DASH_LINE
Show output as dashed line


DASHDOT_LINE

public static final OutputParameterInfo.DrawingStyle DASHDOT_LINE
Show output as dashed and dotted line


DASHDOTDOT_LINE

public static final OutputParameterInfo.DrawingStyle DASHDOTDOT_LINE
Show output as dashed and double dotted line


LEVEL_LINE

public static final OutputParameterInfo.DrawingStyle LEVEL_LINE
Show output as level. Levels are horizontal lines that are drawn by the price at last candle


LEVEL_DOT_LINE

public static final OutputParameterInfo.DrawingStyle LEVEL_DOT_LINE
Show output as dotted level. Levels are horizontal lines that are drawn by the price at last candle


LEVEL_DASH_LINE

public static final OutputParameterInfo.DrawingStyle LEVEL_DASH_LINE
Show output as dashed level. Levels are horizontal lines that are drawn by the price at last candle


LEVEL_DASHDOT_LINE

public static final OutputParameterInfo.DrawingStyle LEVEL_DASHDOT_LINE
Show output as dashed and dotted level. Levels are horizontal lines that are drawn by the price at last candle


LEVEL_DASHDOTDOT_LINE

public static final OutputParameterInfo.DrawingStyle LEVEL_DASHDOTDOT_LINE
Show output as dashed and double dotted level. Levels are horizontal lines that are drawn by the price at last candle


DOTS

public static final OutputParameterInfo.DrawingStyle DOTS
Show output as dots


HISTOGRAM

public static final OutputParameterInfo.DrawingStyle HISTOGRAM
Show output as histogram


ARROW_SYMBOL_UP

public static final OutputParameterInfo.DrawingStyle ARROW_SYMBOL_UP
Draws arrow symbol at non NaN or no Integer.MIN_VALUE values


ARROW_SYMBOL_DOWN

public static final OutputParameterInfo.DrawingStyle ARROW_SYMBOL_DOWN
Draw arrow symbol at non NaN or no Integer.MIN_VALUE values


PATTERN_BOOL

public static final OutputParameterInfo.DrawingStyle PATTERN_BOOL
If value is not zero, then draw pattern


PATTERN_BULL_BEAR

public static final OutputParameterInfo.DrawingStyle PATTERN_BULL_BEAR
If value: == 0 - no pattern > 0 - bullish < 0 - bearish


PATTERN_STRENGTH

public static final OutputParameterInfo.DrawingStyle PATTERN_STRENGTH
If value: == 0 - neutral ]0..100] getting bullish ]100.. bullish [-100..0[ getting bearish ..100[ bearish

Method Detail

values

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

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

valueOf

public static OutputParameterInfo.DrawingStyle 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

fromFlagValue

public static OutputParameterInfo.DrawingStyle fromFlagValue(int flag)

getFlagValue

public int getFlagValue()


Copyright © 2011. All Rights Reserved.