com.itextpdf.text
Class ListLabel
java.lang.Object
com.itextpdf.text.ListBody
com.itextpdf.text.ListLabel
- All Implemented Interfaces:
- IAccessibleElement
public class ListLabel
- extends ListBody
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
role
protected PdfName role
indentation
protected float indentation
tagLabelContent
protected boolean tagLabelContent
ListLabel
protected ListLabel(ListItem parentItem)
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.