public enum ECSSMetaUnit extends Enum<ECSSMetaUnit>
| Enum Constant and Description |
|---|
ABSOLUTE_LENGTH |
ANGLE |
FLEX |
FONT_RELATIVE_LENGTH |
FREQUENZY |
PERCENTAGE |
RESOLUTION |
TIME |
VIEWPORT_RELATIVE_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLength() |
boolean |
isRelativeLength() |
static ECSSMetaUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECSSMetaUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECSSMetaUnit PERCENTAGE
public static final ECSSMetaUnit FONT_RELATIVE_LENGTH
public static final ECSSMetaUnit VIEWPORT_RELATIVE_LENGTH
public static final ECSSMetaUnit ABSOLUTE_LENGTH
public static final ECSSMetaUnit ANGLE
public static final ECSSMetaUnit TIME
public static final ECSSMetaUnit FREQUENZY
public static final ECSSMetaUnit RESOLUTION
public static final ECSSMetaUnit FLEX
public static ECSSMetaUnit[] values()
for (ECSSMetaUnit c : ECSSMetaUnit.values()) System.out.println(c);
public static ECSSMetaUnit 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 boolean isRelativeLength()
public boolean isLength()
Copyright © 2014–2022 Philip Helger. All rights reserved.