Package com.helger.css.media
Enum ECSSMediaExpressionFeature
- All Implemented Interfaces:
com.helger.commons.name.IHasName,Serializable,Comparable<ECSSMediaExpressionFeature>,java.lang.constant.Constable
public enum ECSSMediaExpressionFeature
extends Enum<ECSSMediaExpressionFeature>
implements com.helger.commons.name.IHasName
This enum represents the W3C standard media query expression features.
- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ECSSMediaExpressionFeaturegetFromNameOrNull(String sName) getName()booleanbooleanbooleanbooleanstatic ECSSMediaExpressionFeatureReturns the enum constant of this type with the specified name.static ECSSMediaExpressionFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WIDTH
-
MIN_WIDTH
-
MAX_WIDTH
-
HEIGHT
-
MIN_HEIGHT
-
MAX_HEIGHT
-
DEVICE_WIDTH
-
MIN_DEVICE_WIDTH
-
MAX_DEVICE_WIDTH
-
DEVICE_HEIGHT
-
MIN_DEVICE_HEIGHT
-
MAX_DEVICE_HEIGHT
-
ORIENTATION
-
ASPECT_RATIO
-
MIN_ASPECT_RATIO
-
MAX_ASPECT_RATIO
-
DEVICE_ASPECT_RATIO
-
MIN_DEVICE_ASPECT_RATIO
-
MAX_DEVICE_ASPECT_RATIO
-
COLOR
-
MIN_COLOR
-
MAX_COLOR
-
COLOR_INDEX
-
MIN_COLOR_INDEX
-
MAX_COLOR_INDEX
-
MONOCHROME
-
MIN_MONOCHROME
-
MAX_MONOCHROME
-
RESOLUTION
-
MIN_RESOLUTION
-
MAX_RESOLUTION
-
SCAN
-
GRID
-
MAX_DEVICE_PIXEL_RATIO
-
MIN_DEVICE_PIXEL_RATIO
-
TRANSFORM_3D
-
LIGHT_LEVEL
-
ENVIRONMENT_BLENDING
-
INVERTED_COLORS
-
PREFERS_REDUCED_MOTION
-
PREFERS_REDUCED_TRANSPARENCY
-
PREFERS_CONTRAST
-
PREFERS_COLOR_SCHEME
-
_WEBKIT_DEVICE_PIXEL_RATIO
-
_WEBKIT_MAX_DEVICE_PIXEL_RATIO
-
_WEBKIT_MIN_DEVICE_PIXEL_RATIO
-
_WEBKIT_TRANSFORM_3D
-
_MS_HIGH_CONTRAST
-
_MS_VIEW_STATE
-
_MOZ_MAX_DEVICE_PIXEL_RATIO
-
_MOZ_MIN_DEVICE_PIXEL_RATIO
-
MAX_MOZ_DEVICE_PIXEL_RATION
-
MIN_MOZ_DEVICE_PIXEL_RATION
-
_MOZ_IMAGES_IN_MENUS
-
_MOZ_MAC_GRAPHITE_THEME
-
_MOZ_MAEMO_CLASSIC
-
_MOZ_DEVICE_PIXEL_RATIO
-
_MOZ_OS_VERSION
-
_MOZ_SCROLLBAR_END_BACKWARD
-
_MOZ_SCROLLBAR_END_FORWARD
-
_MOZ_SCROLLBAR_START_BACKWARD
-
_MOZ_SCROLLBAR_START_FORWARD
-
_MOZ_SCROLLBAR_THUMB_PROPORTIONAL
-
_MOZ_TOUCH_ENABLED
-
_MOZ_WINDOWS_CLASSIC
-
_MOZ_WINDOWS_COMPOSITOR
-
_MOZ_WINDOWS_DEFAULT_THEME
-
_MOZ_WINDOWS_GLASS
-
_MOZ_WINDOWS_THEME
-
_O_MAX_DEVICE_PIXEL_RATIO
-
_O_MIN_DEVICE_PIXEL_RATIO
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getName
- Specified by:
getNamein interfacecom.helger.commons.name.IHasName- Returns:
- the CSS media expression name. Never
nullnor empty.
-
isWebkitSpecific
public boolean isWebkitSpecific()- Returns:
trueif this media expression feature is WebKit specific,falseif not.
-
isMozillaSpecific
public boolean isMozillaSpecific()- Returns:
trueif this media expression feature is Mozilla specific,falseif not.
-
isMicrosoftSpecific
public boolean isMicrosoftSpecific()- Returns:
trueif this media expression feature is Microsoft specific,falseif not.
-
isBrowserSpecific
public boolean isBrowserSpecific()- Returns:
trueif this media expression feature is browser specific,falseif not.
-
getFromNameOrNull
-