Enum MediaFeature
- java.lang.Object
- 
- java.lang.Enum<MediaFeature>
- 
- com.inductiveautomation.perspective.common.config.styles.MediaFeature
 
 
- 
- All Implemented Interfaces:
- CamelCase,- java.io.Serializable,- java.lang.Comparable<MediaFeature>
 
 public enum MediaFeature extends java.lang.Enum<MediaFeature> implements CamelCase 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description hovermaxAspectRatiomaxWidthminAspectRatiominWidthorientation
 - 
Field Summary- 
Fields inherited from interface com.inductiveautomation.perspective.common.config.CamelCaseDASH_LOWER, UPPER
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaFeaturefromCss(java.lang.String css)java.lang.StringgetCss()static MediaFeaturevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MediaFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
minWidthpublic static final MediaFeature minWidth 
 - 
maxWidthpublic static final MediaFeature maxWidth 
 - 
orientationpublic static final MediaFeature orientation 
 - 
minAspectRatiopublic static final MediaFeature minAspectRatio 
 - 
maxAspectRatiopublic static final MediaFeature maxAspectRatio 
 - 
hoverpublic static final MediaFeature hover 
 
- 
 - 
Method Detail- 
valuespublic static MediaFeature[] 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 (MediaFeature c : MediaFeature.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static MediaFeature valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getCsspublic java.lang.String getCss() 
 - 
fromCsspublic static MediaFeature fromCss(java.lang.String css) 
 
- 
 
-