Class ListLabel
java.lang.Object
com.itextpdf.text.ListBody
com.itextpdf.text.ListLabel
- All Implemented Interfaces:
IAccessibleElement
-
Field Summary
FieldsFields inherited from class ListBody
accessibleAttributes, parentItem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetRole()Gets the role of the accessible element.booleanDeprecated.booleanisInline()voidsetIndentation(float indentation) voidSets the role of the accessiblee element.voidsetTagLabelContent(boolean tagLabelContent) Deprecated.Methods inherited from class ListBody
getAccessibleAttribute, getAccessibleAttributes, getId, setAccessibleAttribute, setId
-
Field Details
-
role
-
indentation
protected float indentation
-
-
Constructor Details
-
ListLabel
-
-
Method Details
-
getRole
Description copied from interface:IAccessibleElementGets the role of the accessible element.- Specified by:
getRolein interfaceIAccessibleElement- Overrides:
getRolein classListBody- Returns:
-
setRole
Description copied from interface:IAccessibleElementSets the role of the accessiblee element. Set role tonullif you don't want to tag this element. Note that all child elements won't also be tagged.- Specified by:
setRolein interfaceIAccessibleElement- Overrides:
setRolein classListBody- Parameters:
role-
-
getIndentation
public float getIndentation() -
setIndentation
public void setIndentation(float indentation) -
getTagLabelContent
Deprecated.Gets the value oftagLabelContentproperty. If the property istrueit means that content of the list item lable will be tagged. For example:<LI> <Lbl> <Span>1.</Span> </Lbl> </LI>If the property set tofalseit will look as follows:<LI> <Lbl>1.</Lbl> </LI>- Returns:
-
setTagLabelContent
Deprecated. -
isInline
public boolean isInline()- Specified by:
isInlinein interfaceIAccessibleElement- Overrides:
isInlinein classListBody
-