Package org.patternfly.component.menu
Enum MenuToggleType
- java.lang.Object
-
- java.lang.Enum<MenuToggleType>
-
- org.patternfly.component.menu.MenuToggleType
-
- All Implemented Interfaces:
Serializable,Comparable<MenuToggleType>
public enum MenuToggleType extends Enum<MenuToggleType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MenuToggleTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MenuToggleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
default_
public static final MenuToggleType default_
-
plain
public static final MenuToggleType plain
-
plainText
public static final MenuToggleType plainText
-
split
public static final MenuToggleType split
-
typeahead
public static final MenuToggleType typeahead
-
-
Field Detail
-
modifier
public final String modifier
-
-
Method Detail
-
values
public static MenuToggleType[] 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 (MenuToggleType c : MenuToggleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MenuToggleType 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
-
-