public enum HyperlinkTypeEnum extends java.lang.Enum<HyperlinkTypeEnum> implements JREnum
| Enum Constant and Description |
|---|
CUSTOM
Custom hyperlink type.
|
LOCAL_ANCHOR
Constant useful for specifying that the hyperlink points to a local anchor, specified by the hyperlink
anchor expression.
|
LOCAL_PAGE
Constant useful for specifying that the hyperlink points to a 1 based page index within the current document.
|
NONE
Constant useful for specifying that the element does not contain a hyperlink.
|
NULL
Not set hyperlink type.
|
REFERENCE
Constant useful for specifying that the hyperlink points to an external resource specified by the
hyperlink reference expression.
|
REMOTE_ANCHOR
Constant useful for specifying that the hyperlink points to a remote anchor (specified by the hyperlink
anchor expression) within an external document (specified by the hyperlink reference expression).
|
REMOTE_PAGE
Constant useful for specifying that the hyperlink points to a 1 based page index within an external document
(specified by the hyperlink reference expression).
|
| Modifier and Type | Method and Description |
|---|---|
static HyperlinkTypeEnum |
getByName(java.lang.String name) |
static HyperlinkTypeEnum |
getByValue(byte value) |
static HyperlinkTypeEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static HyperlinkTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HyperlinkTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HyperlinkTypeEnum NULL
public static final HyperlinkTypeEnum NONE
public static final HyperlinkTypeEnum REFERENCE
public static final HyperlinkTypeEnum LOCAL_ANCHOR
public static final HyperlinkTypeEnum LOCAL_PAGE
public static final HyperlinkTypeEnum REMOTE_ANCHOR
public static final HyperlinkTypeEnum REMOTE_PAGE
public static final HyperlinkTypeEnum CUSTOM
The specific type is determined by getLinkType().
public static HyperlinkTypeEnum[] values()
for (HyperlinkTypeEnum c : HyperlinkTypeEnum.values()) System.out.println(c);
public static HyperlinkTypeEnum 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Byte getValueByte()
getValueByte in interface JREnumpublic static HyperlinkTypeEnum getByName(java.lang.String name)
public static HyperlinkTypeEnum getByValue(java.lang.Byte value)
public static HyperlinkTypeEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com