|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseHyperlink
public class JRBaseHyperlink
Read-only implementation of JRHyperlink
.
Field Summary | |
---|---|
protected JRExpression |
hyperlinkAnchorExpression
|
protected JRExpression |
hyperlinkPageExpression
|
protected JRHyperlinkParameter[] |
hyperlinkParameters
|
protected JRExpression |
hyperlinkReferenceExpression
|
protected byte |
hyperlinkTarget
|
protected JRExpression |
hyperlinkTooltipExpression
|
protected java.lang.String |
linkType
|
Fields inherited from interface net.sf.jasperreports.engine.JRHyperlink |
---|
HYPERLINK_TARGET_BLANK, HYPERLINK_TARGET_SELF, HYPERLINK_TYPE_CUSTOM, HYPERLINK_TYPE_LOCAL_ANCHOR, HYPERLINK_TYPE_LOCAL_PAGE, HYPERLINK_TYPE_NONE, HYPERLINK_TYPE_NULL, HYPERLINK_TYPE_REFERENCE, HYPERLINK_TYPE_REMOTE_ANCHOR, HYPERLINK_TYPE_REMOTE_PAGE |
Constructor Summary | |
---|---|
|
JRBaseHyperlink()
Create an empty hyperlink. |
protected |
JRBaseHyperlink(JRHyperlink link,
JRBaseObjectFactory factory)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
static JRHyperlinkParameter[] |
copyHyperlinkParameters(JRHyperlink link,
JRBaseObjectFactory factory)
|
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()
Retrieves the hyperlink type for the element. |
java.lang.String |
getLinkType()
Returns the hyperlink type. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String linkType
protected byte hyperlinkTarget
protected JRExpression hyperlinkReferenceExpression
protected JRExpression hyperlinkAnchorExpression
protected JRExpression hyperlinkPageExpression
protected JRExpression hyperlinkTooltipExpression
protected JRHyperlinkParameter[] hyperlinkParameters
Constructor Detail |
---|
public JRBaseHyperlink()
protected JRBaseHyperlink(JRHyperlink link, JRBaseObjectFactory factory)
Method Detail |
---|
public static JRHyperlinkParameter[] copyHyperlinkParameters(JRHyperlink link, JRBaseObjectFactory factory)
public JRExpression getHyperlinkAnchorExpression()
JRHyperlink
getHyperlinkAnchorExpression
in interface JRHyperlink
public JRExpression getHyperlinkPageExpression()
JRHyperlink
getHyperlinkPageExpression
in interface JRHyperlink
public JRHyperlinkParameter[] getHyperlinkParameters()
JRHyperlink
The parameters can be used by custom hyperlink types to generate dynamic links.
getHyperlinkParameters
in interface JRHyperlink
public JRExpression getHyperlinkReferenceExpression()
JRHyperlink
getHyperlinkReferenceExpression
in interface JRHyperlink
public byte getHyperlinkTarget()
JRHyperlink
getHyperlinkTarget
in interface JRHyperlink
public byte getHyperlinkType()
JRHyperlink
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, HYPERLINK_TYPE_CUSTOM
is returned.
getHyperlinkType
in interface JRHyperlink
JRHyperlink.getLinkType()
public java.lang.String getLinkType()
JRHyperlink
The type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.
getLinkType
in interface JRHyperlink
public JRExpression getHyperlinkTooltipExpression()
JRHyperlink
getHyperlinkTooltipExpression
in interface JRHyperlink
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |