Package com.itextpdf.text
Interface ElementListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Subinterfaces:
DocListener
- All Known Implementing Classes:
Document
,DocWriter
,FdfWriter.Wrt
,HTMLWorker
,PdfACopy
,PdfASmartCopy
,PdfAStamperImp
,PdfAWriter
,PdfCopy
,PdfCopyFieldsImp
,PdfCopyFormsImp
,PdfDocument
,PdfSmartCopy
,PdfStamperImp
,PdfWriter
public interface ElementListener extends java.util.EventListener
A class that implementsElementListener
will perform some actions when anElement
is added.- See Also:
DocListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
add(Element element)
Signals that anElement
was added to theDocument
.
-
-
-
Method Detail
-
add
boolean add(Element element) throws DocumentException
Signals that anElement
was added to theDocument
.- Parameters:
element
- a high level object- Returns:
true
if the element was added,false
if not.- Throws:
DocumentException
- when a document isn't open yet, or has been closed
-
-