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
Modifier and TypeMethodDescriptionintReturns the level of the bookmark corresponding to the anchor.voidsetAnchorName(String anchorName) voidsetBookmarkLevel(int bookmarkLevel) Sets the boomark level for the anchor.
-
Method Details
-
getAnchorName
String getAnchorName() -
setAnchorName
-
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
-