|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.BaseDocumentTag org.ujac.print.tag.BaseCellTag org.ujac.print.tag.BoxTag
public class BoxTag
Name: BoxTag
Description: Places a text box at a fix position on the current page.
Field Summary | |
---|---|
static String |
TAG_NAME
The item's name. |
Fields inherited from class org.ujac.print.tag.BaseCellTag |
---|
colspan, composite, DEFAULT_HALIGN, DEFAULT_VALIGN, fillRow, itemClosed |
Constructor Summary | |
---|---|
BoxTag()
Constructs a BoxTag instance with no specific attributes. |
Method Summary | |
---|---|
protected AttributeDefinitionMap |
buildSupportedAttributes()
Gets the list of supported attributes. |
ChildDefinitionMap |
buildSupportedChilds()
Gets the list of supported childs. |
protected AttributeDefinitionMap |
buildSupportedStyleAttributes()
Gets the list of supported style attributes. |
void |
closeItem()
Closes the item. |
String |
getDescription()
Gets a brief description for the item. |
ElementContainer |
getElementContainer()
Gets the element container. |
float |
getLineSpacing()
Gets the line spacing. |
protected CellAttributes |
getParentAttributes()
Gets the parent attributes. |
void |
initialize()
Initializes the item. |
protected void |
insertImage(com.lowagie.text.pdf.PdfWriter writer,
com.lowagie.text.Document document,
com.lowagie.text.Image image)
Inserts the given image into the document. |
void |
openItem()
Opens the item. |
Methods inherited from class org.ujac.print.tag.BaseCellTag |
---|
addCell, addCellEventHandler, addChunk, addChunk, addElement, buildCell, flushContent, getActualContent, getCell, getCellAttributes, getLeading, getLocalCellAttributes, getPdfTable, getRemainingPdfColumns, isStyleable, isTextBodyAllowed, isTopLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ujac.print.PhraseHolder |
---|
addChunk, addChunk |
Methods inherited from interface org.ujac.print.FontHolder |
---|
getFont |
Methods inherited from interface org.ujac.print.ElementContainer |
---|
addElement, isTopLevel |
Methods inherited from interface org.ujac.print.CommonAttributesHolder |
---|
getLeading |
Methods inherited from interface org.ujac.print.StyleHolder |
---|
getStyleAttribute |
Field Detail |
---|
public static final String TAG_NAME
Constructor Detail |
---|
public BoxTag()
Method Detail |
---|
public String getDescription()
getDescription
in class BaseCellTag
protected AttributeDefinitionMap buildSupportedAttributes()
buildSupportedAttributes
in class BaseCellTag
protected AttributeDefinitionMap buildSupportedStyleAttributes()
buildSupportedStyleAttributes
in class BaseCellTag
public ChildDefinitionMap buildSupportedChilds()
buildSupportedChilds
in class BaseCellTag
public void initialize() throws DocumentHandlerException
initialize
in class BaseCellTag
DocumentHandlerException
- If something went badly wrong.public void openItem() throws DocumentHandlerException
openItem
in class BaseCellTag
DocumentHandlerException
- Thrown in case something went wrong while opening the document item.protected CellAttributes getParentAttributes()
getParentAttributes
in class BaseCellTag
public void closeItem() throws DocumentHandlerException
closeItem
in class BaseCellTag
DocumentHandlerException
- Thrown in case something went wrong while closing the document item.protected void insertImage(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document, com.lowagie.text.Image image)
writer
- The pdf writer.document
- The document to add the image to.image
- The image to insert.public float getLineSpacing()
getLineSpacing
in interface CommonAttributesHolder
getLineSpacing
in class BaseCellTag
public ElementContainer getElementContainer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |