Package com.smartsheet.api.models.format
Enum FontSize
- java.lang.Object
-
- java.lang.Enum<FontSize>
-
- com.smartsheet.api.models.format.FontSize
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPt()
static FontSize
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
PT_8
public static final FontSize PT_8
-
PT_9
public static final FontSize PT_9
-
PT_10
public static final FontSize PT_10
-
PT_12
public static final FontSize PT_12
-
PT_14
public static final FontSize PT_14
-
PT_16
public static final FontSize PT_16
-
PT_18
public static final FontSize PT_18
-
PT_20
public static final FontSize PT_20
-
PT_24
public static final FontSize PT_24
-
PT_28
public static final FontSize PT_28
-
PT_32
public static final FontSize PT_32
-
PT_36
public static final FontSize PT_36
-
-
Field Detail
-
DEFAULT
public static final FontSize DEFAULT
-
-
Method Detail
-
values
public static FontSize[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FontSize c : FontSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FontSize valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getPt
public int getPt()
- Returns:
- the pt
-
-