public interface JRHyperlink extends JRCloneable
JRAnchor| Modifier and Type | Method and Description |
|---|---|
JRExpression |
getHyperlinkAnchorExpression()
Returns the expression whose value represents the anchor.
|
JRExpression |
getHyperlinkPageExpression()
Returns an integer representing the page index of the link.
|
JRHyperlinkParameter[] |
getHyperlinkParameters()
Returns the list of hyperlink parameters.
|
JRExpression |
getHyperlinkReferenceExpression()
Returns the expression whose value represents the hyperlink reference.
|
byte |
getHyperlinkTarget()
Retrieves the hyperlink target for the element.
|
JRExpression |
getHyperlinkTooltipExpression()
Returns the expression which will generate the hyperlink tooltip.
|
byte |
getHyperlinkType()
Deprecated.
Replaced by
getHyperlinkTypeValue(). |
HyperlinkTypeEnum |
getHyperlinkTypeValue()
Retrieves the hyperlink type for the element.
|
JRExpression |
getHyperlinkWhenExpression()
Returns the expression that is evaluated in order to decide if the hyperlink should be displayed.
|
String |
getLinkTarget()
Returns the hyperlink target name.
|
String |
getLinkType()
Returns the hyperlink type.
|
clonebyte getHyperlinkType()
getHyperlinkTypeValue().HyperlinkTypeEnum getHyperlinkTypeValue()
The actual hyperlink type is determined by getLinkType().
This method can is used to determine whether the hyperlink type is one of the
built-in types or a custom type.
When hyperlink is of custom type, CUSTOM is returned.
getLinkType()byte getHyperlinkTarget()
The actual hyperlink target is determined by getLinkTarget().
This method can is used to determine whether the hyperlink target is one of the
built-in target names or a custom one.
When hyperlink has a custom target name, HyperlinkTargetEnum.CUSTOM is returned.
getLinkTarget()JRExpression getHyperlinkReferenceExpression()
JRExpression getHyperlinkWhenExpression()
JRExpression getHyperlinkAnchorExpression()
JRExpression getHyperlinkPageExpression()
String getLinkType()
The type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.
String getLinkTarget()
The type can be one of the built-in names (Self, Blank, Top, Parent), or can be an arbitrary name.
JRHyperlinkParameter[] getHyperlinkParameters()
The parameters can be used by custom hyperlink types to generate dynamic links.
JRExpression getHyperlinkTooltipExpression()
Copyright © 2014. All rights reserved.