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, 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: -
1.
If the property set to false
it will look as follows: -
1.
-
Returns:
-
setTagLabelContent
@Deprecated
public void setTagLabelContent(boolean tagLabelContent)
Deprecated.
-
isInline
public boolean isInline()
-
Specified by:
-
isInline
in interface IAccessibleElement
-
Overrides:
-
isInline
in class ListBody
Copyright © 1998–2024. All rights reserved.