Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum Shadow

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

public enum Shadow
extends Enum<Shadow>

Define light setting for a 3D chart.


Enum Constant Summary
FIXED
          Sets the standard shading for crevasses exposed in 3D charts.
NONE
          Removes all shading features.
REALISTIC
          ChartFX for Java adjusts the shading depending on the angle and rotation settings.
 
Method Summary
static EnumSet<Shadow> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static Shadow getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<Shadow> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(Shadow value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static Shadow valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Shadow[] 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 Shadow NONE
Removes all shading features. Note, this may reduce the 3D effect of the chart.


FIXED

public static final Shadow FIXED
Sets the standard shading for crevasses exposed in 3D charts.


REALISTIC

public static final Shadow REALISTIC
ChartFX for Java adjusts the shading depending on the angle and rotation settings.

Method Detail

values

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

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

valueOf

public static Shadow 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<Shadow> getEnumSetValue(int value)

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

public static Shadow 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(Shadow 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<Shadow> 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.