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 String
getAnchorName()
int
getBookmarkLevel()
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 Detail
-
getAnchorName
String getAnchorName()
-
setAnchorName
void setAnchorName(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_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
-
-