public abstract class AbstractDrawer extends Object implements com.itextpdf.text.pdf.interfaces.IAccessibleElement
Modifier and Type | Field and Description |
---|---|
protected HashMap |
accessibleAttributes |
protected com.itextpdf.text.AccessibleElementId |
id |
protected com.itextpdf.text.pdf.PdfName |
role |
Constructor and Description |
---|
AbstractDrawer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle borderArea) |
com.itextpdf.text.pdf.PdfObject |
getAccessibleAttribute(com.itextpdf.text.pdf.PdfName key) |
HashMap |
getAccessibleAttributes() |
com.itextpdf.text.AccessibleElementId |
getId() |
com.itextpdf.text.pdf.PdfName |
getRole() |
abstract boolean |
isEmpty() |
boolean |
isInline() |
void |
setAccessibleAttribute(com.itextpdf.text.pdf.PdfName key, com.itextpdf.text.pdf.PdfObject value) |
void |
setId(com.itextpdf.text.AccessibleElementId id) |
void |
setRole(com.itextpdf.text.pdf.PdfName role) |
protected com.itextpdf.text.pdf.PdfName role
protected com.itextpdf.text.AccessibleElementId id
protected HashMapaccessibleAttributes
public abstract void draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle borderArea)
public abstract boolean isEmpty()
public com.itextpdf.text.pdf.PdfObject getAccessibleAttribute(com.itextpdf.text.pdf.PdfName key)
getAccessibleAttribute
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
public void setAccessibleAttribute(com.itextpdf.text.pdf.PdfName key, com.itextpdf.text.pdf.PdfObject value)
setAccessibleAttribute
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
public HashMapgetAccessibleAttributes()
getAccessibleAttributes
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
public com.itextpdf.text.pdf.PdfName getRole()
getRole
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
public void setRole(com.itextpdf.text.pdf.PdfName role)
setRole
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
public com.itextpdf.text.AccessibleElementId getId()
getId
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
public void setId(com.itextpdf.text.AccessibleElementId id)
setId
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
public boolean isInline()
isInline
in interface com.itextpdf.text.pdf.interfaces.IAccessibleElement
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.