Chart FX 7 for Java Server

com.softwarefx.chartfx.server.maps
Enum LabelStyles

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

public enum LabelStyles
extends Enum<LabelStyles>

LabelStyles


Enum Constant Summary
DONT_SHOW_PARENT_LEVELS
          Do not display labels for parent levels, current level and below only.
SHOW_NOTHING
          Hide all labels in the map.
SHOW_REGION_BORDERS
          Displays the region borders.
SHOW_THIS_LEVEL_ONLY
          Display labels for the current RuleLevel only.
 
Method Summary
static EnumSet<LabelStyles> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static LabelStyles getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<LabelStyles> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(LabelStyles value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static LabelStyles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LabelStyles[] 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

SHOW_THIS_LEVEL_ONLY

public static final LabelStyles SHOW_THIS_LEVEL_ONLY
Display labels for the current RuleLevel only.


DONT_SHOW_PARENT_LEVELS

public static final LabelStyles DONT_SHOW_PARENT_LEVELS
Do not display labels for parent levels, current level and below only.


SHOW_REGION_BORDERS

public static final LabelStyles SHOW_REGION_BORDERS
Displays the region borders.


SHOW_NOTHING

public static final LabelStyles SHOW_NOTHING
Hide all labels in the map.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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