Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum BarShape

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

public enum BarShape
extends Enum<BarShape>

Sets the shape for the bars in a Bar Chart


Enum Constant Summary
CONE
          Sets the Bar shape to a Cone.
CYLINDER
          Sets the Bar shape to a Cylinder.
PYRAMID
          Sets the Bar shape to a Pyramid.
RECTANGLE
          Sets the Bar shape to a Rectangle (Default).
 
Method Summary
static EnumSet<BarShape> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static BarShape getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(BarShape value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(EnumSet<BarShape> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static BarShape valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BarShape[] 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

RECTANGLE

public static final BarShape RECTANGLE
Sets the Bar shape to a Rectangle (Default).


CYLINDER

public static final BarShape CYLINDER
Sets the Bar shape to a Cylinder.


CONE

public static final BarShape CONE
Sets the Bar shape to a Cone.


PYRAMID

public static final BarShape PYRAMID
Sets the Bar shape to a Pyramid.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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