public enum HyperlinkTargetEnum extends Enum<HyperlinkTargetEnum> implements JREnum
Enum Constant and Description |
---|
BLANK
Constant useful for specifying that the hyperlink will be opened in a new window.
|
CUSTOM
Custom hyperlink target name.
|
NONE
Target not defined.
|
PARENT
Constant useful for specifying that the hyperlink will be opened in the parent frame.
|
SELF
Constant useful for specifying that the hyperlink will be opened in the same window.
|
TOP
Constant useful for specifying that the hyperlink will be opened in the top frame.
|
Modifier and Type | Method and Description |
---|---|
static HyperlinkTargetEnum |
getByName(String name) |
static HyperlinkTargetEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static HyperlinkTargetEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getHtmlValue() |
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static HyperlinkTargetEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HyperlinkTargetEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HyperlinkTargetEnum NONE
public static final HyperlinkTargetEnum SELF
public static final HyperlinkTargetEnum BLANK
public static final HyperlinkTargetEnum PARENT
public static final HyperlinkTargetEnum TOP
public static final HyperlinkTargetEnum CUSTOM
The specific target name is determined by getLinkTarget()
.
public static HyperlinkTargetEnum[] values()
for (HyperlinkTargetEnum c : HyperlinkTargetEnum.values()) System.out.println(c);
public static HyperlinkTargetEnum 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 Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public String getHtmlValue()
public static HyperlinkTargetEnum getByName(String name)
public static HyperlinkTargetEnum getByValue(Byte value)
public static HyperlinkTargetEnum getByValue(byte value)
Copyright © 2017. All rights reserved.