Class PageTargetCountElement

java.lang.Object
com.itextpdf.commons.actions.sequence.AbstractIdentifiableElement
com.itextpdf.layout.ElementPropertyContainer
com.itextpdf.layout.element.AbstractElement
com.itextpdf.layout.element.Text
com.itextpdf.html2pdf.attach.impl.layout.PageTargetCountElement
All Implemented Interfaces:
com.itextpdf.layout.element.IAbstractElement, com.itextpdf.layout.element.IElement, com.itextpdf.layout.element.ILeafElement, com.itextpdf.layout.IPropertyContainer, com.itextpdf.layout.tagging.IAccessibleElement

public class PageTargetCountElement extends com.itextpdf.layout.element.Text
Text implementation to be used for the page target-counter.
  • Field Summary

    Fields inherited from class com.itextpdf.layout.element.Text

    tagProperties, text

    Fields inherited from class com.itextpdf.layout.element.AbstractElement

    childElements, nextRenderer, styles

    Fields inherited from class com.itextpdf.layout.ElementPropertyContainer

    properties
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new PageTargetCountElement.
    Instantiates a new PageTargetCountElement.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets glyph style for digits.
    Gets element's target.
    com.itextpdf.layout.renderer.IRenderer

    Methods inherited from class com.itextpdf.layout.element.Text

    getAccessibilityProperties, getHorizontalScaling, getText, getTextRise, setHorizontalScaling, setNeutralRole, setSkew, setText, setTextRise

    Methods inherited from class com.itextpdf.layout.element.AbstractElement

    addStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumber

    Methods inherited from class com.itextpdf.layout.ElementPropertyContainer

    deleteOwnProperty, getDefaultProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.itextpdf.layout.element.IElement

    createRendererSubTree, getRenderer, setNextRenderer

    Methods inherited from interface com.itextpdf.layout.IPropertyContainer

    deleteOwnProperty, getDefaultProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setProperty
  • Constructor Details

    • PageTargetCountElement

      public PageTargetCountElement (String target)
      Instantiates a new PageTargetCountElement.
      Parameters:
      target - name of the corresponding target
    • PageTargetCountElement

      public PageTargetCountElement (String target, CounterDigitsGlyphStyle digitsGlyphStyle)
      Instantiates a new PageTargetCountElement.
      Parameters:
      target - name of the corresponding target
      digitsGlyphStyle - digits glyph style
  • Method Details

    • getTarget

      public String getTarget()
      Gets element's target.
      Returns:
      target which was specified for this element.
    • getDigitsGlyphStyle

      public CounterDigitsGlyphStyle getDigitsGlyphStyle()
      Gets glyph style for digits.
      Returns:
      name of the glyph style
    • makeNewRenderer

      public com.itextpdf.layout.renderer.IRenderer makeNewRenderer()
      Overrides:
      makeNewRenderer in class com.itextpdf.layout.element.Text