|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<HyperlinkTargetEnum> net.sf.jasperreports.engine.type.HyperlinkTargetEnum
public enum HyperlinkTargetEnum
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
static HyperlinkTargetEnum |
getByName(java.lang.String name)
|
static HyperlinkTargetEnum |
getByValue(byte value)
|
static HyperlinkTargetEnum |
getByValue(java.lang.Byte value)
|
java.lang.String |
getName()
|
byte |
getValue()
|
java.lang.Byte |
getValueByte()
|
static HyperlinkTargetEnum |
valueOf(java.lang.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. |
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 |
---|
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()
.
Method Detail |
---|
public static HyperlinkTargetEnum[] values()
for (HyperlinkTargetEnum c : HyperlinkTargetEnum.values()) System.out.println(c);
public static HyperlinkTargetEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
getValue
in interface JREnum
public java.lang.String getName()
getName
in interface JREnum
public static HyperlinkTargetEnum getByName(java.lang.String name)
public static HyperlinkTargetEnum getByValue(java.lang.Byte value)
public static HyperlinkTargetEnum getByValue(byte value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |