Package com.oorian.bootstrap.enums
Enum Class Breakpoint
- All Implemented Interfaces:
Serializable,Comparable<Breakpoint>,Constable
Bootstrap responsive breakpoints for grid system and responsive utilities.
These breakpoints define the screen widths at which layouts change:
- XS: Extra small, less than 576px
- SM: Small, 576px and up
- MD: Medium, 768px and up
- LG: Large, 992px and up
- XL: Extra large, 1200px and up
- XXL: Extra extra large, 1400px and up
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetInfix()Gets the infix for responsive classes (e.g., "-md-" for medium breakpoint).getValue()static BreakpointReturns the enum constant of this class with the specified name.static Breakpoint[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
XS
-
SM
-
MD
-
LG
-
XL
-
XXL
-
-
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
-
getValue
-
getInfix
Gets the infix for responsive classes (e.g., "-md-" for medium breakpoint).- Returns:
- The infix string, or empty string for XS
-