public static enum HtmlGeneratedForm.MessagePosition extends Enum<HtmlGeneratedForm.MessagePosition>
Enum Constant and Description |
---|
BOTTOM
Messages below the input.
|
LEFT
Messages to the left of the input.
|
RIGHT
Messages to the right of the input.
|
TOP
Messages above the input.
|
Modifier and Type | Method and Description |
---|---|
HtmlGeneratedForm.Orientation |
getOrientation()
Gets the orientation.
|
static HtmlGeneratedForm.MessagePosition |
getPosition(String stringValue)
Guesses the message position, returns
RIGHT . |
static HtmlGeneratedForm.MessagePosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlGeneratedForm.MessagePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlGeneratedForm.MessagePosition BOTTOM
public static final HtmlGeneratedForm.MessagePosition LEFT
public static final HtmlGeneratedForm.MessagePosition RIGHT
public static final HtmlGeneratedForm.MessagePosition TOP
public static HtmlGeneratedForm.MessagePosition[] values()
for (HtmlGeneratedForm.MessagePosition c : HtmlGeneratedForm.MessagePosition.values()) System.out.println(c);
public static HtmlGeneratedForm.MessagePosition 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 static HtmlGeneratedForm.MessagePosition getPosition(String stringValue)
RIGHT
.stringValue
- The string value to guess for.RIGHT
.public HtmlGeneratedForm.Orientation getOrientation()
Copyright © 2010–2014 Lunar Ray. All rights reserved.