Chart FX 7 for Java Server

com.softwarefx
Enum AnchorStyles

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

public enum AnchorStyles
extends Enum<AnchorStyles>

Specifies how an object anchors to the edges of its container.


Enum Constant Summary
BOTTOM
          The object is anchored to the bottom edge of its container.
LEFT
          The object is anchored to the left edge of its container.
NONE
          The object is not anchored to any edges of its container.
RIGHT
          The object is anchored to the right edge of its container.
TOP
          The object is anchored to the top edge of its container.
 
Method Summary
static EnumSet<AnchorStyles> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static AnchorStyles getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(AnchorStyles value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(EnumSet<AnchorStyles> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static AnchorStyles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AnchorStyles[] 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

TOP

public static final AnchorStyles TOP
The object is anchored to the top edge of its container.


BOTTOM

public static final AnchorStyles BOTTOM
The object is anchored to the bottom edge of its container.


LEFT

public static final AnchorStyles LEFT
The object is anchored to the left edge of its container.


RIGHT

public static final AnchorStyles RIGHT
The object is anchored to the right edge of its container.


NONE

public static final AnchorStyles NONE
The object is not anchored to any edges of its container.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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