Package com.itextpdf.text.pdf
Class PdfPTableBody
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfPTableBody
-
- All Implemented Interfaces:
IAccessibleElement
- Direct Known Subclasses:
PdfPTableFooter,PdfPTableHeader
public class PdfPTableBody extends java.lang.Object implements IAccessibleElement
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.HashMap<PdfName,PdfObject>accessibleAttributesprotected AccessibleElementIdidprotected PdfNameroleprotected java.util.ArrayList<PdfPRow>rows
-
Constructor Summary
Constructors Constructor Description PdfPTableBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfObjectgetAccessibleAttribute(PdfName key)Get the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).java.util.HashMap<PdfName,PdfObject>getAccessibleAttributes()Gets all the properties of accessible element.AccessibleElementIdgetId()PdfNamegetRole()Gets the role of the accessible element.booleanisInline()voidsetAccessibleAttribute(PdfName key, PdfObject value)Set the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).voidsetId(AccessibleElementId id)voidsetRole(PdfName role)Sets the role of the accessiblee element.
-
-
-
Field Detail
-
id
protected AccessibleElementId id
-
rows
protected java.util.ArrayList<PdfPRow> rows
-
role
protected PdfName role
-
-
Method Detail
-
getAccessibleAttribute
public PdfObject getAccessibleAttribute(PdfName key)
Description copied from interface:IAccessibleElementGet the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).- Specified by:
getAccessibleAttributein interfaceIAccessibleElement- Returns:
-
setAccessibleAttribute
public void setAccessibleAttribute(PdfName key, PdfObject value)
Description copied from interface:IAccessibleElementSet the attribute of accessible element (everything inAdictionary +Lang,Alt,ActualText,E).- Specified by:
setAccessibleAttributein interfaceIAccessibleElement
-
getAccessibleAttributes
public java.util.HashMap<PdfName,PdfObject> getAccessibleAttributes()
Description copied from interface:IAccessibleElementGets all the properties of accessible element.- Specified by:
getAccessibleAttributesin interfaceIAccessibleElement- Returns:
-
getRole
public PdfName getRole()
Description copied from interface:IAccessibleElementGets the role of the accessible element.- Specified by:
getRolein interfaceIAccessibleElement- 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
-
getId
public AccessibleElementId getId()
- Specified by:
getIdin interfaceIAccessibleElement
-
setId
public void setId(AccessibleElementId id)
- Specified by:
setIdin interfaceIAccessibleElement
-
isInline
public boolean isInline()
- Specified by:
isInlinein interfaceIAccessibleElement
-
-