IAccessibleElement
public class ListLabel extends ListBody
Modifier and Type | Field | Description |
---|---|---|
protected float |
indentation |
|
protected PdfName |
role |
accessibleAttributes, parentItem
Modifier | Constructor | Description |
---|---|---|
protected |
ListLabel(ListItem parentItem) |
Modifier and Type | Method | 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, setId
protected PdfName role
protected float indentation
protected ListLabel(ListItem parentItem)
public PdfName getRole()
IAccessibleElement
getRole
in interface IAccessibleElement
getRole
in class ListBody
public void setRole(PdfName role)
IAccessibleElement
null
if you don't want to tag this element.
Note that all child elements won't also be tagged.setRole
in interface IAccessibleElement
setRole
in class ListBody
public 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 IAccessibleElement
isInline
in class ListBody
Copyright © 1998–2018. All rights reserved.