Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected float
indentation
protected PdfName
role
-
Fields inherited from class com.itextpdf.text.ListBody
accessibleAttributes, parentItem
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods 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.-
Methods inherited from class com.itextpdf.text.ListBody
getAccessibleAttribute, getAccessibleAttributes, getId, setAccessibleAttribute, setId
-
-
-
-
Field Detail
-
role
protected PdfName role
-
indentation
protected float indentation
-
-
Constructor Detail
-
ListLabel
protected ListLabel(ListItem parentItem)
-
-
Method Detail
-
getRole
public PdfName getRole()
Description copied from interface:IAccessibleElement
Gets the role of the accessible element.- Specified by:
getRole
in interfaceIAccessibleElement
- Overrides:
getRole
in classListBody
- Returns:
-
setRole
public void setRole(PdfName role)
Description copied from interface:IAccessibleElement
Sets the role of the accessiblee element. Set role tonull
if you don't want to tag this element. Note that all child elements won't also be tagged.- Specified by:
setRole
in interfaceIAccessibleElement
- Overrides:
setRole
in classListBody
-
getIndentation
public float getIndentation()
-
setIndentation
public void setIndentation(float indentation)
-
getTagLabelContent
@Deprecated public boolean getTagLabelContent()
Deprecated.Gets the value oftagLabelContent
property. If the property istrue
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 tofalse
it will look as follows:<LI> <Lbl>1.</Lbl> </LI>
- Returns:
-
setTagLabelContent
@Deprecated public void setTagLabelContent(boolean tagLabelContent)
Deprecated.
-
isInline
public boolean isInline()
- Specified by:
isInline
in interfaceIAccessibleElement
- Overrides:
isInline
in classListBody
-
-