public static enum ComputedStyle.FontSize extends java.lang.Enum<ComputedStyle.FontSize>
| 枚举常量和说明 |
|---|
FOOTNOTESIZE |
HUGE |
HUGE_2 |
LARGE |
LARGE_2 |
LARGE_3 |
NORMALSIZE |
SCRIPTSIZE |
SMALL |
TINY |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getTargetCSSClassName() |
static ComputedStyle.FontSize |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ComputedStyle.FontSize[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ComputedStyle.FontSize TINY
public static final ComputedStyle.FontSize SCRIPTSIZE
public static final ComputedStyle.FontSize FOOTNOTESIZE
public static final ComputedStyle.FontSize SMALL
public static final ComputedStyle.FontSize NORMALSIZE
public static final ComputedStyle.FontSize LARGE
public static final ComputedStyle.FontSize LARGE_2
public static final ComputedStyle.FontSize LARGE_3
public static final ComputedStyle.FontSize HUGE
public static final ComputedStyle.FontSize HUGE_2
public static ComputedStyle.FontSize[] values()
for (ComputedStyle.FontSize c : ComputedStyle.FontSize.values()) System.out.println(c);
public static ComputedStyle.FontSize valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public java.lang.String getTargetCSSClassName()