Package com.helger.css
Enum ECSSVendorPrefix
- All Implemented Interfaces:
com.helger.commons.name.IHasDisplayName,Serializable,Comparable<ECSSVendorPrefix>,java.lang.constant.Constable
public enum ECSSVendorPrefix
extends Enum<ECSSVendorPrefix>
implements com.helger.commons.name.IHasDisplayName
Enumeration containing all known CSS vendor prefixes
- Since:
- 3.9.0
- 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 ConstantDescriptionSafari alternative prefixAdvanced Television Standards CommitteeEPUBKonqueror browserMicrosoftMicrosoft Office - no leading dash!MozillaOperaMicrosoft - scrollbars - no leading dash!The WAP forumSafari and other WebKit-based browsers -
Method Summary
Modifier and TypeMethodDescriptionstatic ECSSVendorPrefixgetFromPrefixOrNull(String sPrefix) static ECSSVendorPrefixReturns the enum constant of this type with the specified name.static ECSSVendorPrefix[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPLE
Safari alternative prefix -
ATSC
Advanced Television Standards Committee -
EPUB
EPUB -
KHTML
Konqueror browser -
MICROSOFT
Microsoft -
MICROSOFT_OFFICE
Microsoft Office - no leading dash! -
MOZILLA
Mozilla -
OPERA
Opera -
SCROLLBAR
Microsoft - scrollbars - no leading dash! -
WAP
The WAP forum -
WEBKIT
Safari and other WebKit-based browsers
-
-
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
-
getPrefix
- Returns:
- The prefix used by this CSS vendor. Neither
nullnor empty.
-
getDisplayName
- Specified by:
getDisplayNamein interfacecom.helger.commons.name.IHasDisplayName
-
getFromPrefixOrNull
-