Enum PanelLocationEnum
- java.lang.Object
-
- java.lang.Enum<PanelLocationEnum>
-
- de.knightsoftnet.validators.client.decorators.PanelLocationEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PanelLocationEnum>
public enum PanelLocationEnum extends Enum<PanelLocationEnum>
The location of the error message relative to the widget.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PanelLocationEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PanelLocationEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP
public static final PanelLocationEnum TOP
display error panel on top of the field.
-
BOTTOM
public static final PanelLocationEnum BOTTOM
display error panel under the field.
-
LEFT
public static final PanelLocationEnum LEFT
display error panel left of the field.
-
RIGHT
public static final PanelLocationEnum RIGHT
display error panel right of the field.
-
-
Method Detail
-
values
public static PanelLocationEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PanelLocationEnum c : PanelLocationEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PanelLocationEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-