Package org.pushingpixels.substance.api
Enum SubstanceSlices.SubstanceWidgetType
- java.lang.Object
-
- java.lang.Enum<SubstanceSlices.SubstanceWidgetType>
-
- org.pushingpixels.substance.api.SubstanceSlices.SubstanceWidgetType
-
- Enclosing class:
- SubstanceSlices
public static enum SubstanceSlices.SubstanceWidgetType extends java.lang.Enum<SubstanceSlices.SubstanceWidgetType>
Enumerates configurable Substance-specific widget types forSubstanceCortex.GlobalScope.setWidgetVisible(boolean, SubstanceSlices.SubstanceWidgetType...)andSubstanceCortex.WindowScope.setWidgetVisible(java.awt.Window, boolean, SubstanceSlices.SubstanceWidgetType...)APIs.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MENU_SEARCHMenu search widget.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubstanceSlices.SubstanceWidgetTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SubstanceSlices.SubstanceWidgetType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MENU_SEARCH
public static final SubstanceSlices.SubstanceWidgetType MENU_SEARCH
Menu search widget.
-
-
Method Detail
-
values
public static SubstanceSlices.SubstanceWidgetType[] 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 (SubstanceSlices.SubstanceWidgetType c : SubstanceSlices.SubstanceWidgetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubstanceSlices.SubstanceWidgetType 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 namejava.lang.NullPointerException- if the argument is null
-
-