Package org.patternfly.style
Enum Breakpoint
- java.lang.Object
-
- java.lang.Enum<Breakpoint>
-
- org.patternfly.style.Breakpoint
-
- All Implemented Interfaces:
Serializable,Comparable<Breakpoint>
public enum Breakpoint extends Enum<Breakpoint>
-
-
Field Summary
Fields Modifier and Type Field Description StringheightCssintheightValueStringvalueStringwidthCssintwidthValue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Breakpointbreakpoint(int width)static BreakpointvalueOf(String name)Returns the enum constant of this type with the specified name.static Breakpoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.static BreakpointverticalBreakpoint(int height)
-
-
-
Enum Constant Detail
-
default_
public static final Breakpoint default_
-
sm
public static final Breakpoint sm
-
md
public static final Breakpoint md
-
lg
public static final Breakpoint lg
-
xl
public static final Breakpoint xl
-
_2xl
public static final Breakpoint _2xl
-
-
Method Detail
-
values
public static Breakpoint[] 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 (Breakpoint c : Breakpoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Breakpoint 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
-
breakpoint
public static Breakpoint breakpoint(int width)
-
verticalBreakpoint
public static Breakpoint verticalBreakpoint(int height)
-
-