org.gwtbootstrap3.extras.growl.client.ui
Enum GrowlPosition
java.lang.Object
java.lang.Enum<GrowlPosition>
org.gwtbootstrap3.extras.growl.client.ui.GrowlPosition
- All Implemented Interfaces:
- Serializable, Comparable<GrowlPosition>
public enum GrowlPosition
- extends Enum<GrowlPosition>
Enumeration of possible Growl`s screen locations.
- Author:
- Pavel Zlámal
TOP_LEFT
public static final GrowlPosition TOP_LEFT
TOP_CENTER
public static final GrowlPosition TOP_CENTER
TOP_RIGHT
public static final GrowlPosition TOP_RIGHT
BOTTOM_LEFT
public static final GrowlPosition BOTTOM_LEFT
BOTTOM_CENTER
public static final GrowlPosition BOTTOM_CENTER
BOTTOM_RIGHT
public static final GrowlPosition BOTTOM_RIGHT
values
public static GrowlPosition[] 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 (GrowlPosition c : GrowlPosition.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GrowlPosition 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()
- Get String representation of position.
- Returns:
- String representation of position
Copyright © 2015. All rights reserved.