public static enum HtmlLayout.FontSize extends Enum<HtmlLayout.FontSize>
Enum Constant and Description |
---|
LARGE |
LARGER |
MEDIUM |
SMALL |
SMALLER |
XLARGE |
XSMALL |
XXLARGE |
XXSMALL |
Modifier and Type | Method and Description |
---|---|
String |
getFontSize() |
static HtmlLayout.FontSize |
getFontSize(String size) |
HtmlLayout.FontSize |
larger() |
static HtmlLayout.FontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlLayout.FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlLayout.FontSize SMALLER
public static final HtmlLayout.FontSize XXSMALL
public static final HtmlLayout.FontSize XSMALL
public static final HtmlLayout.FontSize SMALL
public static final HtmlLayout.FontSize MEDIUM
public static final HtmlLayout.FontSize LARGE
public static final HtmlLayout.FontSize XLARGE
public static final HtmlLayout.FontSize XXLARGE
public static final HtmlLayout.FontSize LARGER
public static HtmlLayout.FontSize[] values()
for (HtmlLayout.FontSize c : HtmlLayout.FontSize.values()) System.out.println(c);
public static HtmlLayout.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 getFontSize()
public static HtmlLayout.FontSize getFontSize(String size)
public HtmlLayout.FontSize larger()
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.