org.jvnet.substance.api
Enum SubstanceConstants.MenuGutterFillKind

java.lang.Object
  extended by java.lang.Enum<SubstanceConstants.MenuGutterFillKind>
      extended by org.jvnet.substance.api.SubstanceConstants.MenuGutterFillKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SubstanceConstants.MenuGutterFillKind>
Enclosing class:
SubstanceConstants

public static enum SubstanceConstants.MenuGutterFillKind
extends java.lang.Enum<SubstanceConstants.MenuGutterFillKind>

Enumerates possible values for menu gutter fill kind.

Author:
Kirill Grouchnikov
See Also:
SubstanceLookAndFeel.MENU_GUTTER_FILL_KIND

Enum Constant Summary
HARD
          The hard (default) fill kind - draws gradient ranging from darker to light in the menu gutter.
HARD_FILL
          The hard fill fill kind - draws darker fill background in the menu gutter.
NONE
          The none fill kind - draws no background in the menu gutter.
SOFT
          The soft fill kind - draws gradient ranging from darker to light in the menu gutter.
SOFT_FILL
          The soft fill fill kind - draws light fill background in the menu gutter.
 
Method Summary
static SubstanceConstants.MenuGutterFillKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SubstanceConstants.MenuGutterFillKind[] 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

NONE

public static final SubstanceConstants.MenuGutterFillKind NONE
The none fill kind - draws no background in the menu gutter.


SOFT_FILL

public static final SubstanceConstants.MenuGutterFillKind SOFT_FILL
The soft fill fill kind - draws light fill background in the menu gutter.


HARD_FILL

public static final SubstanceConstants.MenuGutterFillKind HARD_FILL
The hard fill fill kind - draws darker fill background in the menu gutter.


SOFT

public static final SubstanceConstants.MenuGutterFillKind SOFT
The soft fill kind - draws gradient ranging from darker to light in the menu gutter.


HARD

public static final SubstanceConstants.MenuGutterFillKind HARD
The hard (default) fill kind - draws gradient ranging from darker to light in the menu gutter.

Method Detail

values

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

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

valueOf

public static SubstanceConstants.MenuGutterFillKind 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