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 floatindentationprotected PdfNamerole-
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 floatgetIndentation()PdfNamegetRole()Gets the role of the accessible element.booleangetTagLabelContent()Deprecated.booleanisInline()voidsetIndentation(float indentation)voidsetRole(PdfName role)Sets the role of the accessiblee element.voidsetTagLabelContent(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:IAccessibleElementGets the role of the accessible element.- Specified by:
getRolein interfaceIAccessibleElement- Overrides:
getRolein classListBody- Returns:
-
setRole
public void setRole(PdfName role)
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
-
getIndentation
public float getIndentation()
-
setIndentation
public void setIndentation(float indentation)
-
getTagLabelContent
@Deprecated public boolean 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 public void setTagLabelContent(boolean tagLabelContent)
Deprecated.
-
isInline
public boolean isInline()
- Specified by:
isInlinein interfaceIAccessibleElement- Overrides:
isInlinein classListBody
-
-