Chart FX 7 for Java Server

com.softwarefx.chartfx.server
Enum LegendBoxStyles

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

public enum LegendBoxStyles
extends Enum<LegendBoxStyles>

Allows you to specify the style for a legend.


Enum Constant Summary
DEFAULT
          Default legend settings.
HIDE_PARTIAL
          Hides all legends if any of them does not fix in the box.
NO_COLOR
          No Colors are used for markers in legend.
RIGHT_ALIGN
          Right aligns the text in the legend.
SHOW_MENU
          Enables the context menu for the legend.
WORDBREAK
          Wraps text when the legend alignment is set to spread.
 
Method Summary
static EnumSet<LegendBoxStyles> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static LegendBoxStyles getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<LegendBoxStyles> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(LegendBoxStyles value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static LegendBoxStyles valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LegendBoxStyles[] 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

WORDBREAK

public static final LegendBoxStyles WORDBREAK
Wraps text when the legend alignment is set to spread.


SHOW_MENU

public static final LegendBoxStyles SHOW_MENU
Enables the context menu for the legend.


RIGHT_ALIGN

public static final LegendBoxStyles RIGHT_ALIGN
Right aligns the text in the legend. Used with Languages written from right to left.


NO_COLOR

public static final LegendBoxStyles NO_COLOR
No Colors are used for markers in legend.


HIDE_PARTIAL

public static final LegendBoxStyles HIDE_PARTIAL
Hides all legends if any of them does not fix in the box.


DEFAULT

public static final LegendBoxStyles DEFAULT
Default legend settings.

Method Detail

values

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

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

valueOf

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

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

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