net.sf.jasperreports.engine

## Interface JRPrintAnchor

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

      public interface JRPrintAnchor

  Version:
    $Id: JRPrintAnchor.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Teodor Danciu (teodord@users.sourceforge.net)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

          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_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) or `NO_BOOKMARK` if no bookmark should be created

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com