Enum Class NavigationType.Horizontal
java.lang.Object
java.lang.Enum<NavigationType.Horizontal>
org.patternfly.component.navigation.NavigationType.Horizontal
- All Implemented Interfaces:
Serializable
,Comparable<NavigationType.Horizontal>
,Constable
,NavigationType
- Enclosing interface:
NavigationType
public static enum NavigationType.Horizontal
extends Enum<NavigationType.Horizontal>
implements NavigationType
No groups, only one level of
NavigationItem
s allowed.
navigation(primary)
.addItem(navigationItem("itm-1", "Item 1", "#itm-1"))
.addItem(navigationItem("itm-2", "Item 2", "#itm-2"))
.addItem(navigationItem("itm-3", "Item 3", "#itm-3"));
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.patternfly.component.navigation.NavigationType
NavigationType.Horizontal, NavigationType.Vertical
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NavigationType.Horizontal
Returns the enum constant of this class with the specified name.static NavigationType.Horizontal[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
-
secondary
-
tertiary
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-