com.lowagie.text

Interface ElementListener

All Superinterfaces:
EventListener
Known Subinterfaces:
DocListener
Known Implementing Classes:
Document, DocWriter, FdfWriter.Wrt, HtmlWriter, HTMLWorker, PdfCopy, PdfCopyFieldsImp, PdfDocument, PdfSmartCopy, PdfStamperImp, PdfWriter, RtfWriter, RtfWriter2

public interface ElementListener
extends EventListener

A class that implements ElementListener will perform some actions when an Element is added.
See Also:
DocListener

Method Summary

boolean
add(Element element)
Signals that an Element was added to the Document.

Method Details

add

public boolean add(Element element)
            throws DocumentException
Signals that an Element was added to the Document.
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