public enum StyleDeclarationInterpretation extends java.lang.Enum<StyleDeclarationInterpretation> implements Interpretation
Commands and
Environments having this interpretation are removed from the parse tree
by the StyleEvaluator, so these are somewhat transient.Interpretation.MarkerInterpretation| 枚举常量和说明 |
|---|
BF |
EM |
FOOTNOTESIZE |
HUGE |
HUGE_2 |
IT |
LARGE |
LARGE_2 |
LARGE_3 |
NORMALSIZE |
RM |
SC |
SCRIPTSIZE |
SF |
SL |
SMALL |
TINY |
TT |
LIST, STYLE_SENTINEL, TABULAR| 限定符和类型 | 方法和说明 |
|---|---|
ComputedStyle.FontFamily |
getFontFamily() |
ComputedStyle.FontSize |
getFontSize() |
InterpretationType |
getType() |
static StyleDeclarationInterpretation |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static StyleDeclarationInterpretation[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final StyleDeclarationInterpretation BF
public static final StyleDeclarationInterpretation RM
public static final StyleDeclarationInterpretation EM
public static final StyleDeclarationInterpretation IT
public static final StyleDeclarationInterpretation TT
public static final StyleDeclarationInterpretation SC
public static final StyleDeclarationInterpretation SL
public static final StyleDeclarationInterpretation SF
public static final StyleDeclarationInterpretation TINY
public static final StyleDeclarationInterpretation SCRIPTSIZE
public static final StyleDeclarationInterpretation FOOTNOTESIZE
public static final StyleDeclarationInterpretation SMALL
public static final StyleDeclarationInterpretation NORMALSIZE
public static final StyleDeclarationInterpretation LARGE
public static final StyleDeclarationInterpretation LARGE_2
public static final StyleDeclarationInterpretation LARGE_3
public static final StyleDeclarationInterpretation HUGE
public static final StyleDeclarationInterpretation HUGE_2
public static StyleDeclarationInterpretation[] values()
for (StyleDeclarationInterpretation c : StyleDeclarationInterpretation.values()) System.out.println(c);
public static StyleDeclarationInterpretation valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public ComputedStyle.FontFamily getFontFamily()
public ComputedStyle.FontSize getFontSize()
public InterpretationType getType()
getType 在接口中 Interpretation