org.ujac.print
Interface ElementContainer

All Superinterfaces:
CommonAttributesHolder
All Known Implementing Classes:
BaseCellTag, BoxTag, CaseTag, CellTag, ChapterTag, ColumnTextTag, ConditionTag, DefaultTag, DocumentTag, DynamicContentContainer, ElseTag, FooterPartTag, ForeachTag, HeaderFooterPartTag, HeaderPartTag, HeadTag, IfTag, IndexTag, ListItemTag, ListSymbolTag, MacroDefTag, ParagraphTag, PdfCellTag, PhraseTag, RowCellTag, SectionTag, SegmentTag, TocTag, WatermarkTag

public interface ElementContainer
extends CommonAttributesHolder

Name: ElementContainer
Description: An interface for classes who are capable of containing elements.

Author:
lauerc

Method Summary
 void addElement(BaseDocumentTag item, com.lowagie.text.Element element)
          Adds a element to the container.
 boolean isTopLevel()
          Tells whether the element container is a top level container or not.
 
Methods inherited from interface org.ujac.print.CommonAttributesHolder
getLeading, getLineSpacing
 

Method Detail

addElement

void addElement(BaseDocumentTag item,
                com.lowagie.text.Element element)
                throws DocumentHandlerException
Adds a element to the container.

Parameters:
item - The document item.
element - The element to be added.
Throws:
DocumentHandlerException - If something went wrong when adding the element.

isTopLevel

boolean isTopLevel()
Tells whether the element container is a top level container or not.

Returns:
true if the element container is a top level container, else false.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.