public class ListLabel extends ListBody
| Modifier and Type | Field and Description |
|---|---|
protected float |
indentation |
protected PdfName |
role |
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()
Deprecated.
|
boolean |
isInline() |
void |
setIndentation(float indentation) |
void |
setRole(PdfName role)
Sets the role of the accessiblee element.
|
void |
setTagLabelContent(boolean tagLabelContent)
Deprecated.
|
getAccessibleAttribute, getAccessibleAttributes, getId, setAccessibleAttribute, setIdprotected PdfName role
protected float indentation
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)
@Deprecated 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>@Deprecated public void setTagLabelContent(boolean tagLabelContent)
public boolean isInline()
isInline in interface IAccessibleElementisInline in class ListBodyCopyright © 2016. All rights reserved.