Package adams.doc.latex.generator
Enum BlockSize.FontSize
- java.lang.Object
-
- java.lang.Enum<BlockSize.FontSize>
-
- adams.doc.latex.generator.BlockSize.FontSize
-
- All Implemented Interfaces:
Serializable
,Comparable<BlockSize.FontSize>
- Enclosing class:
- BlockSize
public static enum BlockSize.FontSize extends Enum<BlockSize.FontSize>
The available size.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description footnotesize
huge
Huge
large
Large
LARGE
normalsize
scriptsize
small
tiny
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockSize.FontSize
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlockSize.FontSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
tiny
public static final BlockSize.FontSize tiny
-
scriptsize
public static final BlockSize.FontSize scriptsize
-
footnotesize
public static final BlockSize.FontSize footnotesize
-
small
public static final BlockSize.FontSize small
-
normalsize
public static final BlockSize.FontSize normalsize
-
large
public static final BlockSize.FontSize large
-
Large
public static final BlockSize.FontSize Large
-
LARGE
public static final BlockSize.FontSize LARGE
-
huge
public static final BlockSize.FontSize huge
-
Huge
public static final BlockSize.FontSize Huge
-
-
Method Detail
-
values
public static BlockSize.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 (BlockSize.FontSize c : BlockSize.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 BlockSize.FontSize valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-