public static enum ResponsiveGridLayout.Breakpoint extends java.lang.Enum<ResponsiveGridLayout.Breakpoint>
Enum Constant and Description |
---|
LG
Large devices (desktops, 992px and up).
|
MD
Medium devices (tablets, 768px and up).
|
SM
Small devices (landscape phones, 576px and up).
|
XL
Extra large devices (large desktops, 1200px and up).
|
XS
Extra small devices (portrait phones, less than 576px).
|
Modifier and Type | Method and Description |
---|---|
static ResponsiveGridLayout.Breakpoint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponsiveGridLayout.Breakpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponsiveGridLayout.Breakpoint XS
public static final ResponsiveGridLayout.Breakpoint SM
Media query example:
@media (min-width: 576px) { ... }
public static final ResponsiveGridLayout.Breakpoint MD
Media query example:
@media (min-width: 768px) { ... }
public static final ResponsiveGridLayout.Breakpoint LG
Media query example:
@media (min-width: 992px) { ... }
public static final ResponsiveGridLayout.Breakpoint XL
Media query example:
@media (min-width: 1200px) { ... }
public static ResponsiveGridLayout.Breakpoint[] values()
for (ResponsiveGridLayout.Breakpoint c : ResponsiveGridLayout.Breakpoint.values()) System.out.println(c);
public static ResponsiveGridLayout.Breakpoint valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null