org.gwtbootstrap3.extras.notify.client.constants
Enum NotifyUrlTarget
java.lang.Object
java.lang.Enum<NotifyUrlTarget>
org.gwtbootstrap3.extras.notify.client.constants.NotifyUrlTarget
- All Implemented Interfaces:
- Serializable, Comparable<NotifyUrlTarget>, org.gwtbootstrap3.client.ui.constants.Type
public enum NotifyUrlTarget
- extends Enum<NotifyUrlTarget>
- implements org.gwtbootstrap3.client.ui.constants.Type
Enumeration of Notify's URL target types.
- Author:
- Xiaodong SUN
BLANK
public static final NotifyUrlTarget BLANK
SELF
public static final NotifyUrlTarget SELF
PARENT
public static final NotifyUrlTarget PARENT
TOP
public static final NotifyUrlTarget TOP
values
public static NotifyUrlTarget[] 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 (NotifyUrlTarget c : NotifyUrlTarget.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NotifyUrlTarget 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
getTarget
public String getTarget()
- Returns the string representation of URL target.
- Returns:
- the string representation of URL target
Copyright © 2015. All rights reserved.