public enum CssFontSize extends Enum<CssFontSize>
Java class for css-font-size.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="css-font-size">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="xx-small"/>
<enumeration value="x-small"/>
<enumeration value="small"/>
<enumeration value="medium"/>
<enumeration value="large"/>
<enumeration value="x-large"/>
<enumeration value="xx-large"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LARGE |
MEDIUM |
SMALL |
X_LARGE |
X_SMALL |
XX_LARGE |
XX_SMALL |
| Modifier and Type | Method and Description |
|---|---|
static CssFontSize |
fromValue(String v) |
String |
value() |
static CssFontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CssFontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CssFontSize XX_SMALL
public static final CssFontSize X_SMALL
public static final CssFontSize SMALL
public static final CssFontSize MEDIUM
public static final CssFontSize LARGE
public static final CssFontSize X_LARGE
public static final CssFontSize XX_LARGE
public static CssFontSize[] values()
for (CssFontSize c : CssFontSize.values()) System.out.println(c);
public static CssFontSize 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 value()
public static CssFontSize fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.