Package net.sf.jasperreports.engine
Interface JRPrintAnchor
-
- All Known Subinterfaces:
JRPrintImage,JRPrintText
- All Known Implementing Classes:
JRBasePrintImage,JRBasePrintText,JRRecordedValuesPrintImage,JRRecordedValuesPrintText,JRTemplatePrintImage,JRTemplatePrintText
public interface JRPrintAnchor- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAnchorName()intgetBookmarkLevel()Returns the level of the bookmark corresponding to the anchor.voidsetAnchorName(java.lang.String anchorName)voidsetBookmarkLevel(int bookmarkLevel)Sets the boomark level for the anchor.
-
-
-
Method Detail
-
getAnchorName
java.lang.String getAnchorName()
-
setAnchorName
void setAnchorName(java.lang.String anchorName)
-
getBookmarkLevel
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_BOOKMARKif no bookmark should be created for this anchor
-
setBookmarkLevel
void setBookmarkLevel(int bookmarkLevel)
Sets the boomark level for the anchor.- Parameters:
bookmarkLevel- the bookmark level (starting from 1) orNO_BOOKMARKif no bookmark should be created
-
-