public static enum ComputedStyle.FontSize extends Enum<ComputedStyle.FontSize>
| Enum Constant and Description |
|---|
FOOTNOTESIZE |
HUGE |
HUGE_2 |
LARGE |
LARGE_2 |
LARGE_3 |
NORMALSIZE |
SCRIPTSIZE |
SMALL |
TINY |
| Modifier and Type | Method and Description |
|---|---|
String |
getTargetCSSClassName() |
static ComputedStyle.FontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputedStyle.FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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(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 getTargetCSSClassName()
Copyright © 2008–2026 The University of Edinburgh. All rights reserved.