Class ListLabel

java.lang.Object
com.itextpdf.text.ListBody
com.itextpdf.text.ListLabel
All Implemented Interfaces:
IAccessibleElement

public class ListLabel extends ListBody
  • Field Details

    • role

      protected PdfName role
    • indentation

      protected float indentation
  • Constructor Details

    • ListLabel

      protected ListLabel(ListItem parentItem)
  • Method Details

    • getRole

      public PdfName getRole()
      Description copied from interface: IAccessibleElement
      Gets the role of the accessible element.
      Specified by:
      getRole in interface IAccessibleElement
      Overrides:
      getRole in class ListBody
      Returns:
    • setRole

      public void setRole(PdfName role)
      Description copied from interface: IAccessibleElement
      Sets the role of the accessiblee element. Set role to null if you don't want to tag this element. Note that all child elements won't also be tagged.
      Specified by:
      setRole in interface IAccessibleElement
      Overrides:
      setRole in class ListBody
      Parameters:
      role -
    • getIndentation

      public float getIndentation()
    • setIndentation

      public void setIndentation(float indentation)
    • getTagLabelContent

      @Deprecated public boolean getTagLabelContent()
      Deprecated.
      Gets the value of tagLabelContent property. If the property is true it means that content of the list item lable will be tagged. For example: <LI> <Lbl> <Span>1.</Span> </Lbl> </LI> If the property set to false it will look as follows: <LI> <Lbl>1.</Lbl> </LI>
      Returns:
    • setTagLabelContent

      @Deprecated public void setTagLabelContent(boolean tagLabelContent)
      Deprecated.
    • isInline

      public boolean isInline()
      Specified by:
      isInline in interface IAccessibleElement
      Overrides:
      isInline in class ListBody