public enum NotifyPlacement extends Enum<NotifyPlacement> implements Type
Enum Constant and Description |
---|
BOTTOM_CENTER |
BOTTOM_LEFT |
BOTTOM_RIGHT |
TOP_CENTER |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Method and Description |
---|---|
String |
getAlign()
Returns the horizontal placement : left, center, or right.
|
String |
getFrom()
Returns the vertical placement : top or bottom.
|
String |
getPlacement()
Returns the string representation of placement.
|
static NotifyPlacement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotifyPlacement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotifyPlacement TOP_LEFT
public static final NotifyPlacement TOP_CENTER
public static final NotifyPlacement TOP_RIGHT
public static final NotifyPlacement BOTTOM_LEFT
public static final NotifyPlacement BOTTOM_CENTER
public static final NotifyPlacement BOTTOM_RIGHT
public static NotifyPlacement[] values()
for (NotifyPlacement c : NotifyPlacement.values()) System.out.println(c);
public static NotifyPlacement 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 String getFrom()
public String getAlign()
public String getPlacement()
Copyright © 2017. All rights reserved.