|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<HyperlinkTypeEnum> net.sf.jasperreports.engine.type.HyperlinkTypeEnum
public enum HyperlinkTypeEnum
Enum Constant Summary | |
---|---|
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). |
Method Summary | |
---|---|
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. |
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 HyperlinkTypeEnum NULL
public static final HyperlinkTypeEnum NONE
public static final HyperlinkTypeEnum REFERENCE
JRHyperlink.getHyperlinkReferenceExpression()
public static final HyperlinkTypeEnum LOCAL_ANCHOR
JRHyperlink.getHyperlinkAnchorExpression()
public static final HyperlinkTypeEnum LOCAL_PAGE
public static final HyperlinkTypeEnum REMOTE_ANCHOR
JRHyperlink.getHyperlinkAnchorExpression()
,
JRHyperlink.getHyperlinkReferenceExpression()
public static final HyperlinkTypeEnum REMOTE_PAGE
public static final HyperlinkTypeEnum CUSTOM
The specific type is determined by getLinkType()
.
Method Detail |
---|
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 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 HyperlinkTypeEnum getByName(java.lang.String name)
public static HyperlinkTypeEnum getByValue(java.lang.Byte value)
public static HyperlinkTypeEnum getByValue(byte value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |