public enum FontSize extends Enum<FontSize>
| Enum Constant and Description |
|---|
PT_10 |
PT_12 |
PT_14 |
PT_16 |
PT_18 |
PT_20 |
PT_24 |
PT_28 |
PT_32 |
PT_36 |
PT_8 |
PT_9 |
| Modifier and Type | Method and Description |
|---|---|
int |
getPt() |
static FontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontSize PT_8
public static final FontSize PT_9
public static final FontSize PT_10
public static final FontSize PT_12
public static final FontSize PT_14
public static final FontSize PT_16
public static final FontSize PT_18
public static final FontSize PT_20
public static final FontSize PT_24
public static final FontSize PT_28
public static final FontSize PT_32
public static final FontSize PT_36
public static final FontSize DEFAULT
public static FontSize[] values()
for (FontSize c : FontSize.values()) System.out.println(c);
public static 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 int getPt()
Copyright © 2014–2017 Smartsheet. All rights reserved.