Package net.moewes.cloudui.vaadin
Enum Notification.Position
- java.lang.Object
-
- java.lang.Enum<Notification.Position>
-
- net.moewes.cloudui.vaadin.Notification.Position
-
- All Implemented Interfaces:
Serializable
,Comparable<Notification.Position>
- Enclosing class:
- Notification
public static enum Notification.Position extends Enum<Notification.Position>
possible value for attribute position
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM_CENTER
BOTTOM_END
BOTTOM_START
BOTTOM_STRETCH
MIDDLE
TOP_CENTER
TOP_END
TOP_START
TOP_STRETCH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Notification.Position
valueOf(String name)
Returns the enum constant of this type with the specified name.static Notification.Position[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTTOM_CENTER
public static final Notification.Position BOTTOM_CENTER
-
BOTTOM_END
public static final Notification.Position BOTTOM_END
-
BOTTOM_START
public static final Notification.Position BOTTOM_START
-
BOTTOM_STRETCH
public static final Notification.Position BOTTOM_STRETCH
-
MIDDLE
public static final Notification.Position MIDDLE
-
TOP_CENTER
public static final Notification.Position TOP_CENTER
-
TOP_END
public static final Notification.Position TOP_END
-
TOP_START
public static final Notification.Position TOP_START
-
TOP_STRETCH
public static final Notification.Position TOP_STRETCH
-
-
Method Detail
-
values
public static Notification.Position[] 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 (Notification.Position c : Notification.Position.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Notification.Position 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
-
-