Enum LayoutNavigationRefType
- java.lang.Object
-
- java.lang.Enum<LayoutNavigationRefType>
-
- org.dashbuilder.navigation.layout.LayoutNavigationRefType
-
- All Implemented Interfaces:
Serializable,Comparable<LayoutNavigationRefType>
@Portable public enum LayoutNavigationRefType extends Enum<LayoutNavigationRefType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_ITEM_DEFINEDDEFAULT_ITEM_FOUNDNAV_COMPONENTNAV_GROUP_CONTEXTNAV_GROUP_DEFINEDPERSPECTIVE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LayoutNavigationRefTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LayoutNavigationRefType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERSPECTIVE
public static final LayoutNavigationRefType PERSPECTIVE
-
NAV_COMPONENT
public static final LayoutNavigationRefType NAV_COMPONENT
-
NAV_GROUP_CONTEXT
public static final LayoutNavigationRefType NAV_GROUP_CONTEXT
-
NAV_GROUP_DEFINED
public static final LayoutNavigationRefType NAV_GROUP_DEFINED
-
DEFAULT_ITEM_DEFINED
public static final LayoutNavigationRefType DEFAULT_ITEM_DEFINED
-
DEFAULT_ITEM_FOUND
public static final LayoutNavigationRefType DEFAULT_ITEM_FOUND
-
-
Method Detail
-
values
public static LayoutNavigationRefType[] 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 (LayoutNavigationRefType c : LayoutNavigationRefType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LayoutNavigationRefType 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
-
-