public static enum HamletSpec.Dir extends Enum<HamletSpec.Dir>
Enum Constant and Description |
---|
ltr
left to right
|
rtl
right to left
|
Modifier and Type | Method and Description |
---|---|
static HamletSpec.Dir |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HamletSpec.Dir[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HamletSpec.Dir ltr
public static final HamletSpec.Dir rtl
public static HamletSpec.Dir[] values()
for (HamletSpec.Dir c : HamletSpec.Dir.values()) System.out.println(c);
public static HamletSpec.Dir 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 nullCopyright © 2008–2019 Apache Software Foundation. All rights reserved.