public static enum HtmlPageItem.Location extends Enum<HtmlPageItem.Location>
enum that defines possible insert positions for a page item.| Modifier and Type | Method and Description |
|---|---|
static @NotNull HtmlPageItem.Location |
fromString(String name) |
String |
getName() |
String |
toString() |
static HtmlPageItem.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlPageItem.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlPageItem.Location HEADER
public static final HtmlPageItem.Location FOOTER
public static HtmlPageItem.Location[] values()
for (HtmlPageItem.Location c : HtmlPageItem.Location.values()) System.out.println(c);
public static HtmlPageItem.Location 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 null@NotNull public static @NotNull HtmlPageItem.Location fromString(String name)
public String getName()
public String toString()
toString in class Enum<HtmlPageItem.Location>Copyright © 2020. All rights reserved.