Chart FX 7 for Java Desktop

com.softwarefx.chartfx.desktop
Enum CustomGridLineStyles

java.lang.Object
  extended by java.lang.Enum<CustomGridLineStyles>
      extended by com.softwarefx.chartfx.desktop.CustomGridLineStyles
All Implemented Interfaces:
Serializable, Comparable<CustomGridLineStyles>

public enum CustomGridLineStyles
extends Enum<CustomGridLineStyles>

Defines the style of the line for a CustomGridLine


Enum Constant Summary
BACK_ONLY
          Disables interactivity for the CustomGridLine
COLOR_TEXT
          Applies the line color to the text
HIDE
          Hides the CustomGridLine
HIDE_LINE
          Hides the line only
HIDE_TEXT
          Hides the text for the CustomGridLine
NONE
          No styling
OUTSIDE_TEXT
          Places the line's text outside the chart area
SHOW_VALUE
          Show the line's associated value
 
Method Summary
static EnumSet<CustomGridLineStyles> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static CustomGridLineStyles getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(CustomGridLineStyles value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(EnumSet<CustomGridLineStyles> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static CustomGridLineStyles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CustomGridLineStyles[] 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 CustomGridLineStyles NONE
No styling


HIDE_TEXT

public static final CustomGridLineStyles HIDE_TEXT
Hides the text for the CustomGridLine


HIDE

public static final CustomGridLineStyles HIDE
Hides the CustomGridLine


BACK_ONLY

public static final CustomGridLineStyles BACK_ONLY
Disables interactivity for the CustomGridLine


COLOR_TEXT

public static final CustomGridLineStyles COLOR_TEXT
Applies the line color to the text


HIDE_LINE

public static final CustomGridLineStyles HIDE_LINE
Hides the line only


OUTSIDE_TEXT

public static final CustomGridLineStyles OUTSIDE_TEXT
Places the line's text outside the chart area


SHOW_VALUE

public static final CustomGridLineStyles SHOW_VALUE
Show the line's associated value

Method Detail

values

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

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

valueOf

public static CustomGridLineStyles 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

getEnumSetValue

public static EnumSet<CustomGridLineStyles> getEnumSetValue(int value)

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

public static CustomGridLineStyles getEnumValue(int value)

Returns a Enum Item that represents the given numeric value.

Parameters:
value - numeric representation of the Enum item.

getUnderlyingValue

public static int getUnderlyingValue(CustomGridLineStyles value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

getUnderlyingValue

public static int getUnderlyingValue(EnumSet<CustomGridLineStyles> value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

http://www.softwarefx.com

2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.