Enum NavigationType.Vertical
- java.lang.Object
-
- java.lang.Enum<NavigationType.Vertical>
-
- org.patternfly.component.navigation.NavigationType.Vertical
-
- All Implemented Interfaces:
Serializable,Comparable<NavigationType.Vertical>,NavigationType
- Enclosing interface:
- NavigationType
public static enum NavigationType.Vertical extends Enum<NavigationType.Vertical> implements NavigationType
Different variations ofNavigationGroups andNavigationItems possible.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.patternfly.component.navigation.NavigationType
NavigationType.Horizontal, NavigationType.Vertical
-
-
Enum Constant Summary
Enum Constants Enum Constant Description drillDownexpandableMixed content ofNavigationGroups andNavigationItems allowed.flatNo groups, only one level ofNavigationItems allowed.flyoutgroupedOnlyNavigationGroups with one level ofNavigationItems allowed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NavigationType.VerticalvalueOf(String name)Returns the enum constant of this type with the specified name.static NavigationType.Vertical[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
flat
public static final NavigationType.Vertical flat
No groups, only one level ofNavigationItems allowed.
-
grouped
public static final NavigationType.Vertical grouped
-
expandable
public static final NavigationType.Vertical expandable
Mixed content ofNavigationGroups andNavigationItems allowed. More than one level of nesting possible.
-
flyout
public static final NavigationType.Vertical flyout
-
drillDown
public static final NavigationType.Vertical drillDown
-
-
Method Detail
-
values
public static NavigationType.Vertical[] 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.Vertical c : NavigationType.Vertical.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.Vertical 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
-
-