public enum NotifyPosition extends Enum<NotifyPosition> implements Type
Modifier and Type | Method and Description |
---|---|
String |
getPosition()
Returns the string representation of position.
|
static NotifyPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotifyPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotifyPosition STATIC
public static final NotifyPosition FIXED
public static final NotifyPosition RELATIVE
public static final NotifyPosition ABSOLUTE
public static NotifyPosition[] values()
for (NotifyPosition c : NotifyPosition.values()) System.out.println(c);
public static NotifyPosition 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 getPosition()
Copyright © 2017. All rights reserved.