public enum NotificationPosition extends java.lang.Enum<NotificationPosition>
Enum Constant and Description |
---|
BottomCenter
Positions the message box at the bottom of the screen and centered.
|
BottomLeft
Positions the message box at the bottom-left of the screen.
|
BottomRight
Positions the message box at the bottom-right of the screen.
|
Center
Positions the message box at the center of the screen.
|
CenterLeft
Positions the message box at the center of the screen and left-aligned.
|
CenterRight
Positions the message box at the center of the screen and right-aligned.
|
TopCenter
Positions the message box at the top of the screen and centered.
|
TopLeft
Positions the message box at the top-left of the screen.
|
TopRight
Positions the message box at the top-right of the screen.
|
Modifier and Type | Method and Description |
---|---|
static NotificationPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationPosition TopLeft
public static final NotificationPosition TopCenter
public static final NotificationPosition TopRight
public static final NotificationPosition CenterLeft
public static final NotificationPosition Center
public static final NotificationPosition CenterRight
public static final NotificationPosition BottomLeft
public static final NotificationPosition BottomCenter
public static final NotificationPosition BottomRight
public static NotificationPosition[] values()
for (NotificationPosition c : NotificationPosition.values()) System.out.println(c);
public static NotificationPosition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null