Enum NavigationType.Horizontal
- java.lang.Object
-
- java.lang.Enum<NavigationType.Horizontal>
-
- org.patternfly.component.navigation.NavigationType.Horizontal
-
- All Implemented Interfaces:
Serializable,Comparable<NavigationType.Horizontal>,NavigationType
- Enclosing interface:
- NavigationType
public static enum NavigationType.Horizontal extends Enum<NavigationType.Horizontal> implements NavigationType
No groups, only one level ofNavigationItems allowed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.patternfly.component.navigation.NavigationType
NavigationType.Horizontal, NavigationType.Vertical
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NavigationType.HorizontalvalueOf(String name)Returns the enum constant of this type with the specified name.static NavigationType.Horizontal[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
primary
public static final NavigationType.Horizontal primary
-
secondary
public static final NavigationType.Horizontal secondary
-
-
Method Detail
-
values
public static NavigationType.Horizontal[] 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 (NavigationType.Horizontal c : NavigationType.Horizontal.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NavigationType.Horizontal 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
-
-