com.dukascopy.api
Enum ChartObjectEvent.AttrType

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

public static enum ChartObjectEvent.AttrType
extends Enum<ChartObjectEvent.AttrType>

Type of the attribute change event


Enum Constant Summary
TYPE_BOOLEAN
          Attribute of type boolean
TYPE_COLOR
          Attribute of type color
TYPE_DOUBLE
          Attribute of type double
TYPE_INT
          Attribute of type int
TYPE_LONG
          Attribute of type long
 
Method Summary
static ChartObjectEvent.AttrType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChartObjectEvent.AttrType[] 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

TYPE_LONG

public static final ChartObjectEvent.AttrType TYPE_LONG
Attribute of type long

See Also:
IChartObject.ATTR_LONG

TYPE_DOUBLE

public static final ChartObjectEvent.AttrType TYPE_DOUBLE
Attribute of type double

See Also:
IChartObject.ATTR_DOUBLE

TYPE_INT

public static final ChartObjectEvent.AttrType TYPE_INT
Attribute of type int

See Also:
IChartObject.ATTR_INT

TYPE_COLOR

public static final ChartObjectEvent.AttrType TYPE_COLOR
Attribute of type color

See Also:
IChartObject.ATTR_COLOR

TYPE_BOOLEAN

public static final ChartObjectEvent.AttrType TYPE_BOOLEAN
Attribute of type boolean

See Also:
IChartObject.ATTR_BOOLEAN
Method Detail

values

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

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

valueOf

public static ChartObjectEvent.AttrType 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 © 2011. All Rights Reserved.