com.itextpdf.text
Class ListLabel

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

public class ListLabel
extends ListBody


Field Summary
protected  float indentation
           
protected  PdfName role
           
protected  boolean tagLabelContent
           
 
Fields inherited from class com.itextpdf.text.ListBody
accessibleAttributes, parentItem
 
Constructor Summary
protected ListLabel(ListItem parentItem)
           
 
Method Summary
 float getIndentation()
           
 PdfName getRole()
          Gets the role of the accessible element.
 boolean getTagLabelContent()
          Gets the value of tagLabelContent property.
 void setIndentation(float indentation)
           
 void setRole(PdfName role)
          Sets the role of the accessiblee element.
 void setTagLabelContent(boolean tagLabelContent)
           
 
Methods inherited from class com.itextpdf.text.ListBody
getAccessibleAttribute, getAccessibleAttributes, getId, setAccessibleAttribute, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

role

protected PdfName role

indentation

protected float indentation

tagLabelContent

protected boolean tagLabelContent
Constructor Detail

ListLabel

protected ListLabel(ListItem parentItem)
Method Detail

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

getIndentation

public float getIndentation()

setIndentation

public void setIndentation(float indentation)

getTagLabelContent

public boolean getTagLabelContent()
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

public void setTagLabelContent(boolean tagLabelContent)


Copyright © 2013. All Rights Reserved.