net.sf.jasperreports.engine
Interface JRPrintAnchor

All Known Subinterfaces:
JRPrintImage, JRPrintText
All Known Implementing Classes:
JRBasePrintImage, JRBasePrintText, JRTemplatePrintImage, JRTemplatePrintText

public interface JRPrintAnchor

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

Method Summary
 java.lang.String getAnchorName()
           
 int getBookmarkLevel()
          Returns the level of the bookmark corresponding to the anchor.
 void setAnchorName(java.lang.String anchorName)
           
 void setBookmarkLevel(int bookmarkLevel)
          Sets the boomark level for the anchor.
 

Method Detail

getAnchorName

public java.lang.String getAnchorName()

setAnchorName

public void setAnchorName(java.lang.String anchorName)

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

setBookmarkLevel

public void setBookmarkLevel(int bookmarkLevel)
Sets the boomark level for the anchor.

Parameters:
bookmarkLevel - the bookmark level (starting from 1) or NO_BOOKMARK if no bookmark should be created


© 2001-2005 JasperSoft Corporation www.jaspersoft.com