org.odftoolkit.simple.common.field
public static enum ChapterField.DisplayType extends Enum<ChapterField.DisplayType>
Enum Constant and Description |
---|
NAME |
NUMBER |
NUMBER_AND_NAME |
PLAIN_NUMBER |
PLAIN_NUMBER_AND_NAME |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ChapterField.DisplayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChapterField.DisplayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChapterField.DisplayType NAME
public static final ChapterField.DisplayType NUMBER
public static final ChapterField.DisplayType NUMBER_AND_NAME
public static final ChapterField.DisplayType PLAIN_NUMBER
public static final ChapterField.DisplayType PLAIN_NUMBER_AND_NAME
public static ChapterField.DisplayType[] values()
for (ChapterField.DisplayType c : ChapterField.DisplayType.values()) System.out.println(c);
public static ChapterField.DisplayType 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 String toString()
toString
in class Enum<ChapterField.DisplayType>
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.