org.gwtbootstrap3.extras.notify.client.constants
Enum NotifyPosition
java.lang.Object
java.lang.Enum<NotifyPosition>
org.gwtbootstrap3.extras.notify.client.constants.NotifyPosition
- All Implemented Interfaces:
- Serializable, Comparable<NotifyPosition>, org.gwtbootstrap3.client.ui.constants.Type
public enum NotifyPosition
- extends Enum<NotifyPosition>
- implements org.gwtbootstrap3.client.ui.constants.Type
Enumeration of possible Notify's position to the container element.
- Author:
- Xiaodong SUN
STATIC
public static final NotifyPosition STATIC
FIXED
public static final NotifyPosition FIXED
RELATIVE
public static final NotifyPosition RELATIVE
ABSOLUTE
public static final NotifyPosition ABSOLUTE
values
public static NotifyPosition[] 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 (NotifyPosition c : NotifyPosition.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NotifyPosition 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 name
NullPointerException - if the argument is null
getPosition
public String getPosition()
- Returns the string representation of position.
- Returns:
- the string representation of position
Copyright © 2015. All rights reserved.