|
|||||||||
| Home >> All >> org >> ujac >> print >> [ tag overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.ujac.print.tag
Class PdfTableHeaderTag

java.lang.Objectorg.ujac.print.BaseDocumentTag
org.ujac.print.tag.PdfTableHeaderTag
- All Implemented Interfaces:
- PdfCellAttributeHolder, org.ujac.print.PdfCellContainer, TagAttributes
- public class PdfTableHeaderTag
- extends org.ujac.print.BaseDocumentTag
- implements org.ujac.print.PdfCellContainer, PdfCellAttributeHolder
- extends org.ujac.print.BaseDocumentTag
Name: PdfTableHeaderTag
Description: A class handling document items which define the header cells of the
surrounding table.
Log: $Log: PdfTableHeaderTag.java,v $
Log: Revision 1.4 2003/11/23 03:12:02 lauerc
Log: Added method getCellAlignmentAttribute.
Log:
Log: Revision 1.3 2003/11/21 00:57:42 lauerc
Log: Made almost all attribute values behave dynamic using the Expression interpreter.
Log:
Log: Revision 1.2 2003/11/01 12:05:19 lauerc
Log: Added copyright notice.
Log:
Log: Revision 1.1 2003/09/29 21:15:03 lauerc
Log: Renamed classes from XyzItem to XyzTag.
Log:
Log: Revision 1.14 2003/07/22 05:09:00 lauerc
Log: Implemented interface PdfCellAttributeHolder.
Log:
Log: Revision 1.13 2003/07/18 06:26:01 lauerc
Log: Content handling re-designed.
Log:
Log: Revision 1.12 2003/07/14 18:58:23 lauerc
Log: Implemented interface PdfCellAttributeHolder.
Log: Added attribute declarations for defining defaults for nested cells.
Log:
Log: Revision 1.11 2003/07/09 21:58:35 lauerc
Log: At method openItem: In case the surrounding table is not empty,
Log: printing its content and starting a new table before adding the
Log: header cells defined below this item, to make sure that only
Log: this items are printed as header cells on top of the following pages.
Log:
Log: Revision 1.10 2003/07/07 06:58:21 lauerc
Log: Changed visibility of method initialize to public.
Log:
Log: Revision 1.9 2003/05/20 21:23:33 lauerc
Log: Enhanced child declaration: Just added the base type of a group of items (e.g. BaseFontTag).
Log: This provides automatic support of new classes which extend specific supported items.
Log:
Log: Revision 1.8 2003/05/07 22:38:15 lauerc
Log: Extended child support.
Log: Using method addHeaderCell when adding cell to PdfTableTag now.
Log:
Log: Revision 1.7 2003/04/29 19:43:33 lauerc
Log: Checking for valid condition to avoid output when surronding condition evaluates to false.
Log:
Log: Revision 1.6 2003/04/25 16:23:27 lauerc
Log: Fixed bug in iterating the numCells counter variable at method addCell.
Log:
Log: Revision 1.5 2003/04/01 22:57:22 lauerc
Log: Improved exception handling, fixed attribute declarations.
Log:
Log: Revision 1.4 2003/03/31 22:29:05 lauerc
Log: Implemented meta information serving methods (getSupportedAttributes, getSupportedChilds).
Log:
Log: Revision 1.3 2003/03/31 19:34:35 lauerc
Log: Determining surrounding table in initialize method.
Log:
Log: Revision 1.2 2003/03/30 13:30:30 lauerc
Log: Externalized attribute names to interface TagAttributes.
Log:
Log: Revision 1.1 2003/03/28 08:59:45 lauerc
Log: Initial revision.
Log:
- Version:
- $Revision: 1.4 $
| Field Summary | |
private PdfCellAttributeHolder |
cellAttributeHolder
The latest surrounding cell attribute holder. |
static java.lang.String |
NAME
The item's name. |
private int |
numHeaderCells
The number of cells in the table's header. |
private static org.ujac.print.AttributeDefinition[] |
supportedAttributes
The item's supported attributes. |
private static org.ujac.print.ChildDefinition[] |
supportedChilds
The item's supported childs. |
private PdfTableTag |
tableItem
The table item. |
| Fields inherited from class org.ujac.print.BaseDocumentTag |
attributes, condition, content, DEFAULT_FONT, DEFAULT_FONT_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE, DEFAULT_FONT_STYLE, depth, documentHandler, parentItem, previousItem, supportedAttributeMap, tagFactory |
| Constructor Summary | |
PdfTableHeaderTag()
|
|
| Method Summary | |
void |
addCell(org.ujac.print.BaseDocumentTag item,
com.lowagie.text.pdf.PdfPCell cell)
Adds a PDF cell to the container. |
void |
closeItem()
Closes the item. |
int |
getCellAlignmentAttribute(java.lang.String name)
Gets the alignment value for the given attribute's name. |
java.lang.String |
getCellAttribute(java.lang.String name)
Gets the value for the given attribute's name. |
int |
getCellBorderAttribute(java.lang.String name)
Gets the border value for the given attribute's name. |
java.awt.Color |
getCellColorAttribute(java.lang.String name)
Gets the color value for the given attribute's name. |
float |
getCellFloatAttribute(java.lang.String name)
Gets the float value for the given attribute's name. |
int |
getCellIntegerAttribute(java.lang.String name)
Gets the integer value for the given attribute's name. |
java.lang.String |
getDescription()
Gets a brief description for the item. |
java.lang.String |
getName()
Gets the item's name. |
org.ujac.print.AttributeDefinition[] |
getSupportedAttributes()
Gets the list of supported attributes. |
org.ujac.print.ChildDefinition[] |
getSupportedChilds()
Gets the list of supported childs. |
com.lowagie.text.pdf.PdfPTable |
getTable()
Gets the iText table. |
void |
initialize()
Initializes the item. |
void |
openItem()
Opens the item. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
NAME
public static final java.lang.String NAME
- The item's name.
- See Also:
- Constant Field Values
supportedAttributes
private static final org.ujac.print.AttributeDefinition[] supportedAttributes
- The item's supported attributes.
supportedChilds
private static final org.ujac.print.ChildDefinition[] supportedChilds
- The item's supported childs.
cellAttributeHolder
private PdfCellAttributeHolder cellAttributeHolder
- The latest surrounding cell attribute holder.
tableItem
private PdfTableTag tableItem
- The table item.
numHeaderCells
private int numHeaderCells
- The number of cells in the table's header.
| Constructor Detail |
PdfTableHeaderTag
public PdfTableHeaderTag()
| Method Detail |
getName
public java.lang.String getName()
- Gets the item's name.
getDescription
public java.lang.String getDescription()
- Gets a brief description for the item.
getSupportedAttributes
public org.ujac.print.AttributeDefinition[] getSupportedAttributes()
- Gets the list of supported attributes.
getSupportedChilds
public org.ujac.print.ChildDefinition[] getSupportedChilds()
- Gets the list of supported childs.
initialize
public void initialize()
throws org.ujac.print.DocumentHandlerException
- Initializes the item.
openItem
public void openItem()
throws org.ujac.print.DocumentHandlerException
- Opens the item.
closeItem
public void closeItem()
throws org.ujac.print.DocumentHandlerException
- Closes the item.
addCell
public void addCell(org.ujac.print.BaseDocumentTag item, com.lowagie.text.pdf.PdfPCell cell) throws org.ujac.print.DocumentHandlerException
- Adds a PDF cell to the container.
- Specified by:
addCellin interfaceorg.ujac.print.PdfCellContainer
getTable
public com.lowagie.text.pdf.PdfPTable getTable()
- Gets the iText table.
getCellAttribute
public java.lang.String getCellAttribute(java.lang.String name) throws org.ujac.print.TagAttributeException
- Gets the value for the given attribute's name.
- Specified by:
getCellAttributein interfacePdfCellAttributeHolder
getCellFloatAttribute
public float getCellFloatAttribute(java.lang.String name) throws org.ujac.print.TagAttributeException
- Gets the float value for the given attribute's name.
- Specified by:
getCellFloatAttributein interfacePdfCellAttributeHolder
getCellIntegerAttribute
public int getCellIntegerAttribute(java.lang.String name) throws org.ujac.print.TagAttributeException
- Gets the integer value for the given attribute's name.
- Specified by:
getCellIntegerAttributein interfacePdfCellAttributeHolder
getCellColorAttribute
public java.awt.Color getCellColorAttribute(java.lang.String name) throws org.ujac.print.TagAttributeException
- Gets the color value for the given attribute's name.
- Specified by:
getCellColorAttributein interfacePdfCellAttributeHolder
getCellBorderAttribute
public int getCellBorderAttribute(java.lang.String name) throws org.ujac.print.TagAttributeException
- Gets the border value for the given attribute's name.
- Specified by:
getCellBorderAttributein interfacePdfCellAttributeHolder
getCellAlignmentAttribute
public int getCellAlignmentAttribute(java.lang.String name) throws org.ujac.print.TagAttributeException
- Gets the alignment value for the given attribute's name.
- Specified by:
getCellAlignmentAttributein interfacePdfCellAttributeHolder
|
|||||||||
| Home >> All >> org >> ujac >> print >> [ tag overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC