public static enum FontSize.Type extends java.lang.Enum<FontSize.Type>
| Enum Constant and Description |
|---|
large |
larger
Sets the font-size to a larger size than the parent element
|
medium |
middle |
small |
smaller
Sets the font-size to a smaller size than the parent element
|
x_large |
x_small |
xx_large |
xx_small
Sets the size of the font to different sizes, from xx-small to
xx-large
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static FontSize.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontSize.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontSize.Type xx_small
public static final FontSize.Type x_small
public static final FontSize.Type small
public static final FontSize.Type medium
public static final FontSize.Type large
public static final FontSize.Type middle
public static final FontSize.Type x_large
public static final FontSize.Type xx_large
public static final FontSize.Type smaller
public static final FontSize.Type larger
public static FontSize.Type[] values()
for (FontSize.Type c : FontSize.Type.values()) System.out.println(c);
public static FontSize.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<FontSize.Type>