Package com.itextpdf.text
Class ListLabel
java.lang.Object
com.itextpdf.text.ListBody
com.itextpdf.text.ListLabel
- All Implemented Interfaces:
IAccessibleElement
-
Field Summary
FieldsFields inherited from class com.itextpdf.text.ListBody
accessibleAttributes, parentItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getRole()
Gets the role of the accessible element.boolean
Deprecated.boolean
isInline()
void
setIndentation
(float indentation) void
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 Details
-
role
-
indentation
protected float indentation
-
-
Constructor Details
-
ListLabel
-
-
Method Details
-
getRole
Description copied from interface:IAccessibleElement
Gets the role of the accessible element.- Specified by:
getRole
in interfaceIAccessibleElement
- Overrides:
getRole
in classListBody
- Returns:
-
setRole
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.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. -
isInline
public boolean isInline()- Specified by:
isInline
in interfaceIAccessibleElement
- Overrides:
isInline
in classListBody
-