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 TypeMethodDescriptionint
Returns the level of the bookmark corresponding to the anchor.void
setAnchorName
(String anchorName) void
setBookmarkLevel
(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_BOOKMARK
if 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_BOOKMARK
if no bookmark should be created
-