|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.print.BaseDocumentTag
org.ujac.print.DynamicContentContainer
public class DynamicContentContainer
Name: DynamicContentContainer
Description: A container tag holding results of dynamic content evaluation.
| Field Summary | |
|---|---|
protected ElementContainer |
elementContainer
The element container. |
static String |
TAG_NAME
The item's name. |
| Constructor Summary | |
|---|---|
DynamicContentContainer()
|
|
| Method Summary | |
|---|---|
void |
addChunk(BaseDocumentTag item,
com.lowagie.text.Chunk chunk)
Adds the given chunk to the root phrase. |
void |
addChunk(BaseDocumentTag item,
String chunk,
DocumentFont font)
Adds the given chunk to the root phrase. |
void |
addElement(BaseDocumentTag item,
com.lowagie.text.Element element)
Adds a element to the container. |
void |
closeItem()
Processes the item. |
void |
flushContent()
Flushes the content buffer. |
com.lowagie.text.Phrase |
getContents()
Getter method for the the property contents. |
String |
getDescription()
Gets a description for the item. |
float |
getLeading()
Gets the fixed vertical leading distance. |
float |
getLineSpacing()
Gets the line spacing. |
String |
getName()
Gets the item's name. |
void |
initialize()
Initializes the item. |
boolean |
isStructureChecksDisabled()
Tells whether or not to disable checks which test if this tag fits into its parent tag. |
boolean |
isTopLevel()
Tells whether the element container is a top level container or not. |
boolean |
isVirtualContainer()
Is the item virtual container, such as <if>, <else> or <foreach>. |
void |
openItem()
Opens the item. |
void |
setContents(com.lowagie.text.Phrase contents)
Setter method for the the property contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TAG_NAME
protected ElementContainer elementContainer
| Constructor Detail |
|---|
public DynamicContentContainer()
| Method Detail |
|---|
public String getName()
BaseDocumentTag
getName in class BaseDocumentTagBaseDocumentTag.getName()public String getDescription()
BaseDocumentTag
getDescription in class BaseDocumentTagBaseDocumentTag.getDescription()public boolean isVirtualContainer()
BaseDocumentTag
isVirtualContainer in class BaseDocumentTagBaseDocumentTag.isVirtualContainer()public boolean isStructureChecksDisabled()
isStructureChecksDisabled in class BaseDocumentTag
public void initialize()
throws DocumentHandlerException
initialize in class BaseDocumentTagDocumentHandlerException - If something went badly wrong.
public void openItem()
throws DocumentHandlerException
BaseDocumentTag
openItem in class BaseDocumentTagDocumentHandlerException - Thrown in case something went wrong while opening the document item.BaseDocumentTag.openItem()
public void flushContent()
throws DocumentHandlerException
flushContent in class BaseDocumentTagDocumentHandlerException - Thrown in case something went wrong while flushing the content buffer.
public void closeItem()
throws DocumentHandlerException
closeItem in class BaseDocumentTagDocumentHandlerException - Thrown in case something went wrong while processing the document item.
public void addChunk(BaseDocumentTag item,
String chunk,
DocumentFont font)
throws DocumentHandlerException
PhraseHolder
addChunk in interface PhraseHolderitem - The document item.chunk - The chunk to add to the root phrase.font - The font to use.
DocumentHandlerException - In case the document processing failed.org.ujac.print.PhraseHolder#addChunk(org.ujac.print.BaseDocumentTag, java.lang.String, com.lowagie.text.Font)
public void addChunk(BaseDocumentTag item,
com.lowagie.text.Chunk chunk)
throws DocumentHandlerException
PhraseHolder
addChunk in interface PhraseHolderitem - The document item.chunk - The chunk to add to the root phrase.
DocumentHandlerException - In case the document processing failed.PhraseHolder.addChunk(org.ujac.print.BaseDocumentTag, com.lowagie.text.Chunk)public float getLeading()
CommonAttributesHolder
getLeading in interface CommonAttributesHolderCommonAttributesHolder.getLeading()public float getLineSpacing()
CommonAttributesHolder
getLineSpacing in interface CommonAttributesHolderCommonAttributesHolder.getLineSpacing()
public void addElement(BaseDocumentTag item,
com.lowagie.text.Element element)
throws DocumentHandlerException
ElementContainer
addElement in interface ElementContaineritem - The document item.element - The element to be added.
DocumentHandlerException - If something went wrong when adding the element.ElementContainer.addElement(org.ujac.print.BaseDocumentTag, com.lowagie.text.Element)public boolean isTopLevel()
ElementContainer
isTopLevel in interface ElementContainerElementContainer.isTopLevel()public com.lowagie.text.Phrase getContents()
public void setContents(com.lowagie.text.Phrase contents)
contents - The value to set for the property contents.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||