Package org.pushingpixels.substance.api
Enum SubstanceConstants.MenuGutterFillKind
- java.lang.Object
-
- java.lang.Enum<SubstanceConstants.MenuGutterFillKind>
-
- org.pushingpixels.substance.api.SubstanceConstants.MenuGutterFillKind
-
- All Implemented Interfaces:
Serializable
,Comparable<SubstanceConstants.MenuGutterFillKind>
- Enclosing class:
- SubstanceConstants
public static enum SubstanceConstants.MenuGutterFillKind extends Enum<SubstanceConstants.MenuGutterFillKind>
Enumerates possible values for menu gutter fill kind.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HARD
Thehard
(default) fill kind - draws gradient ranging from darker to light in the menu gutter.HARD_FILL
Thehard fill
fill kind - draws darker fill background in the menu gutter.NONE
Thenone
fill kind - draws no background in the menu gutter.SOFT
Thesoft
fill kind - draws gradient ranging from darker to light in the menu gutter.SOFT_FILL
Thesoft fill
fill kind - draws light fill background in the menu gutter.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubstanceConstants.MenuGutterFillKind
valueOf(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.
-
-
-
Enum Constant Detail
-
NONE
public static final SubstanceConstants.MenuGutterFillKind NONE
Thenone
fill kind - draws no background in the menu gutter.
-
SOFT_FILL
public static final SubstanceConstants.MenuGutterFillKind SOFT_FILL
Thesoft fill
fill kind - draws light fill background in the menu gutter.
-
HARD_FILL
public static final SubstanceConstants.MenuGutterFillKind HARD_FILL
Thehard fill
fill kind - draws darker fill background in the menu gutter.
-
SOFT
public static final SubstanceConstants.MenuGutterFillKind SOFT
Thesoft
fill kind - draws gradient ranging from darker to light in the menu gutter.
-
HARD
public static final SubstanceConstants.MenuGutterFillKind HARD
Thehard
(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(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 nameNullPointerException
- if the argument is null
-
-