Package adams.doc.latex.generator
Enum NewSection.SectionType
- java.lang.Object
-
- java.lang.Enum<NewSection.SectionType>
-
- adams.doc.latex.generator.NewSection.SectionType
-
- All Implemented Interfaces:
Serializable
,Comparable<NewSection.SectionType>
- Enclosing class:
- NewSection
public static enum NewSection.SectionType extends Enum<NewSection.SectionType>
The types of sections.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHAPTER
PARAGRAPH
PART
SECTION
SUBPARAGRAPH
SUBSECTION
SUBSUBSECTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NewSection.SectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NewSection.SectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PART
public static final NewSection.SectionType PART
-
CHAPTER
public static final NewSection.SectionType CHAPTER
-
SECTION
public static final NewSection.SectionType SECTION
-
SUBSECTION
public static final NewSection.SectionType SUBSECTION
-
SUBSUBSECTION
public static final NewSection.SectionType SUBSUBSECTION
-
PARAGRAPH
public static final NewSection.SectionType PARAGRAPH
-
SUBPARAGRAPH
public static final NewSection.SectionType SUBPARAGRAPH
-
-
Method Detail
-
values
public static NewSection.SectionType[] 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 (NewSection.SectionType c : NewSection.SectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NewSection.SectionType 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
-
-