org.gwtbootstrap3.extras.notify.client.constants
Enum NotifyPosition

java.lang.Object
  extended by java.lang.Enum<NotifyPosition>
      extended by 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

Enum Constant Summary
ABSOLUTE
           
FIXED
           
RELATIVE
           
STATIC
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STATIC

public static final NotifyPosition STATIC

FIXED

public static final NotifyPosition FIXED

RELATIVE

public static final NotifyPosition RELATIVE

ABSOLUTE

public static final NotifyPosition ABSOLUTE
Method Detail

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.