lt.monarch.chart.style.enums
Enum HatchFills

java.lang.Object
  extended by java.lang.Enum<HatchFills>
      extended by lt.monarch.chart.style.enums.HatchFills
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HatchFills>, StyleObject

public enum HatchFills
extends java.lang.Enum<HatchFills>
implements StyleObject

Hatch fill enumeration. The value is set to stylesheet and the colors are then taken from where as well, when rendering.


Enum Constant Summary
Enum Constant and Description
BREAK_LINE_PAINT
           
CIRCLE_PAINT
           
CROSSED45_PAINT
           
CROSSED90_PAINT
           
DIAMOND_PAINT
           
DOT_PAINT
           
LINE45_PAINT
           
LINE75_PAINT
           
NCLINE45_PAINT
           
NCLINE75_PAINT
           
SUN_PAINT
           
TRIANGLE_PAINT
           
TRIPPLE75_PAINT
           
 
Method Summary
Modifier and Type Method and Description
 java.awt.Paint getPaint(java.awt.Color color1, java.awt.Color color2)
           
static HatchFills valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HatchFills[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LINE45_PAINT

public static final HatchFills LINE45_PAINT

NCLINE45_PAINT

public static final HatchFills NCLINE45_PAINT

LINE75_PAINT

public static final HatchFills LINE75_PAINT

NCLINE75_PAINT

public static final HatchFills NCLINE75_PAINT

BREAK_LINE_PAINT

public static final HatchFills BREAK_LINE_PAINT

CIRCLE_PAINT

public static final HatchFills CIRCLE_PAINT

CROSSED45_PAINT

public static final HatchFills CROSSED45_PAINT

CROSSED90_PAINT

public static final HatchFills CROSSED90_PAINT

DIAMOND_PAINT

public static final HatchFills DIAMOND_PAINT

DOT_PAINT

public static final HatchFills DOT_PAINT

SUN_PAINT

public static final HatchFills SUN_PAINT

TRIANGLE_PAINT

public static final HatchFills TRIANGLE_PAINT

TRIPPLE75_PAINT

public static final HatchFills TRIPPLE75_PAINT
Method Detail

values

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

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

valueOf

public static HatchFills valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPaint

public java.awt.Paint getPaint(java.awt.Color color1,
                               java.awt.Color color2)