public class ListLabel extends ListBody
| Modifier and Type | Field and Description |
|---|---|
protected float |
indentation |
protected PdfName |
role |
protected boolean |
tagLabelContent |
accessibleAttributes, parentItem| Modifier | Constructor and Description |
|---|---|
protected |
ListLabel(ListItem parentItem) |
| Modifier and Type | Method and Description |
|---|---|
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) |
getAccessibleAttribute, getAccessibleAttributes, getId, setAccessibleAttribute, setIdprotected PdfName role
protected float indentation
protected boolean tagLabelContent
protected ListLabel(ListItem parentItem)
public PdfName getRole()
IAccessibleElementgetRole in interface IAccessibleElementgetRole in class ListBodypublic void setRole(PdfName role)
IAccessibleElementnull if you don't want to tag this element.
Note that all child elements won't also be tagged.setRole in interface IAccessibleElementsetRole in class ListBodypublic float getIndentation()
public void setIndentation(float indentation)
public boolean getTagLabelContent()
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>public void setTagLabelContent(boolean tagLabelContent)
Copyright © 2013. All rights reserved.