public enum ScreenMedia extends Enum<ScreenMedia>
| Enum Constant and Description |
|---|
LARGE_AND_DOWN
The component will be visible for large, medium, small and x-small screens only
|
LARGE_AND_UP
The component will be visible for large and larger screens only
|
LARGE_ONLY
The component will be visible for large screens only
|
MEDIUM_AND_DOWN
The component will be visible for medium, small and very small screens only
|
MEDIUM_AND_UP
The component will be visible for medium and larger screens only
|
MEDIUM_ONLY
The component will be visible for small and medium size screens only
|
SMALL_AND_DOWN
The component will be visible for small and very small screens only
|
SMALL_AND_UP
The component will be visible for all screen except very small screens
|
SMALL_ONLY
The component will be visible for small screens only
|
XLARGE_AND_DOWN
The component will be visible for x-large and smaller screens only
|
XLARGE_AND_UP
The component will be visible for x-large or larger screens
|
XLARGE_ONLY
The component will be visible for x-large screens only
|
XSMALL_AND_UP
The component will be visible for very small screens and larger screens, in short all screens
|
XSMALL_ONLY
The component will be visible for very small screens only
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStyle() |
static ScreenMedia |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScreenMedia[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScreenMedia XSMALL_ONLY
max-width: 768px
public static final ScreenMedia XSMALL_AND_UP
public static final ScreenMedia SMALL_ONLY
width between 768px and 992px
public static final ScreenMedia SMALL_AND_DOWN
max-width: 992px
public static final ScreenMedia SMALL_AND_UP
min-width: 768px
public static final ScreenMedia MEDIUM_ONLY
width between 992px and 1200px
public static final ScreenMedia MEDIUM_AND_DOWN
max width 1200px
public static final ScreenMedia MEDIUM_AND_UP
min width 992px
public static final ScreenMedia LARGE_ONLY
width between 1200px and 1800px
public static final ScreenMedia LARGE_AND_DOWN
max width 1800px
public static final ScreenMedia LARGE_AND_UP
min width 1200px
public static final ScreenMedia XLARGE_ONLY
min width 1800px
public static final ScreenMedia XLARGE_AND_DOWN
max width 1800px
public static final ScreenMedia XLARGE_AND_UP
min width 1800px
public static ScreenMedia[] values()
for (ScreenMedia c : ScreenMedia.values()) System.out.println(c);
public static ScreenMedia valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getStyle()
Copyright © 2019–2022 Dominokit. All rights reserved.