public static enum CustomHTMLLayout.FontSize extends Enum<CustomHTMLLayout.FontSize>
Enum Constant and Description |
---|
LARGE |
LARGER |
MEDIUM |
SMALL |
SMALLER |
XLARGE |
XSMALL |
XXLARGE |
XXSMALL |
Modifier and Type | Method and Description |
---|---|
String |
getFontSize() |
static CustomHTMLLayout.FontSize |
getFontSize(String size) |
CustomHTMLLayout.FontSize |
larger() |
static CustomHTMLLayout.FontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomHTMLLayout.FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomHTMLLayout.FontSize SMALLER
public static final CustomHTMLLayout.FontSize XXSMALL
public static final CustomHTMLLayout.FontSize XSMALL
public static final CustomHTMLLayout.FontSize SMALL
public static final CustomHTMLLayout.FontSize MEDIUM
public static final CustomHTMLLayout.FontSize LARGE
public static final CustomHTMLLayout.FontSize XLARGE
public static final CustomHTMLLayout.FontSize XXLARGE
public static final CustomHTMLLayout.FontSize LARGER
public static CustomHTMLLayout.FontSize[] values()
for (CustomHTMLLayout.FontSize c : CustomHTMLLayout.FontSize.values()) System.out.println(c);
public static CustomHTMLLayout.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 CustomHTMLLayout.FontSize getFontSize(String size)
public CustomHTMLLayout.FontSize larger()
Copyright © 2016–2021. All rights reserved.