public enum TocType extends Enum<TocType>
| Modifier and Type | Method and Description |
|---|---|
String |
getToc() |
static TocType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TocType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TocType RIGHT
public static final TocType LEFT
public static final TocType CENTER
public final String toc
public static TocType[] values()
for (TocType c : TocType.values()) System.out.println(c);
public static TocType 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 getToc()
Copyright © 2016–2020. All rights reserved.