net.sf.jasperreports.engine
Interface JRAnchor

All Known Subinterfaces:
JRChart, JRImage, JRTextField
All Known Implementing Classes:
JRBaseChart, JRBaseImage, JRBaseTextField, JRDesignChart, JRDesignImage, JRDesignTextField, JRFillChart, JRFillImage, JRFillTextField

public interface JRAnchor

An interface providing anchor functionality. It must be implemented by elements that can contain anchors for hyperlinks.

Version:
$Id: JRAnchor.java,v 1.9 2005/08/11 16:41:22 lucianc Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static int NO_BOOKMARK
          Value of the bookmark level that indicates that no bookmark should be created for the anchor.
 
Method Summary
 JRExpression getAnchorNameExpression()
          Returns an expression whose value represents the anchor name.
 int getBookmarkLevel()
          Returns the level of the bookmark corresponding to the anchor.
 

Field Detail

NO_BOOKMARK

public static final int NO_BOOKMARK
Value of the bookmark level that indicates that no bookmark should be created for the anchor.

See Also:
Constant Field Values
Method Detail

getAnchorNameExpression

public JRExpression getAnchorNameExpression()
Returns an expression whose value represents the anchor name.


getBookmarkLevel

public int getBookmarkLevel()
Returns the level of the bookmark corresponding to the anchor.

Returns:
the level of the bookmark corresponding to the anchor (starting from 1) or NO_BOOKMARK if no bookmark should be created for this anchor


© 2001-2005 JasperSoft Corporation www.jaspersoft.com