|
||||||||||
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.BaseElementTag org.ujac.print.tag.TableTag
public class TableTag
Name: TableTag
Description: An item handling tables.
Field Summary | |
---|---|
static String |
TAG_NAME
The item's name. |
Constructor Summary | |
---|---|
TableTag()
Constructs a TableTag instance with no specific attributes. |
Method Summary | |
---|---|
void |
addCell(BaseDocumentTag item,
com.lowagie.text.Cell cell)
Adds a cell to the container. |
protected AttributeDefinitionMap |
buildSupportedAttributes()
Gets the list of supported attributes. |
ChildDefinitionMap |
buildSupportedChilds()
Gets the list of supported childs. |
void |
closeItem()
Closes the item. |
CellAttributes |
getCellAttributes()
Gets the cell attributes. |
String |
getDescription()
Gets a brief description for the item. |
int |
getRemainingColumns()
Gets the number of remaining columns of the current row. |
com.lowagie.text.Table |
getTable()
Gets the iText table. |
void |
initialize()
Initializes the item. |
boolean |
isStyleable()
Tells whether or not this tag does respect style attributes or not. |
void |
openItem()
Opens the item. |
Methods inherited from class org.ujac.print.tag.BaseElementTag |
---|
getElementContainer |
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.FontHolder |
---|
getFont |
Methods inherited from interface org.ujac.print.StyleHolder |
---|
getStyleAttribute |
Field Detail |
---|
public static final String TAG_NAME
Constructor Detail |
---|
public TableTag()
Method Detail |
---|
public String getDescription()
getDescription
in class BaseDocumentTag
protected AttributeDefinitionMap buildSupportedAttributes()
buildSupportedAttributes
in class BaseElementTag
public ChildDefinitionMap buildSupportedChilds()
buildSupportedChilds
in class BaseDocumentTag
public boolean isStyleable()
isStyleable
in class BaseDocumentTag
true
.public void initialize() throws DocumentHandlerException
initialize
in class BaseElementTag
DocumentHandlerException
- If something went badly wrong.public void openItem() throws DocumentHandlerException
openItem
in class BaseElementTag
DocumentHandlerException
- Thrown in case something went wrong while opening the document item.public void closeItem() throws DocumentHandlerException
closeItem
in class BaseDocumentTag
DocumentHandlerException
- Thrown in case something went wrong while closing the document item.public void addCell(BaseDocumentTag item, com.lowagie.text.Cell cell) throws DocumentHandlerException
addCell
in interface CellContainer
item
- The document item.cell
- The cell to be added.
DocumentHandlerException
- If something went wrong when adding the cell.public int getRemainingColumns()
getRemainingColumns
in interface CellContainer
public com.lowagie.text.Table getTable()
public CellAttributes getCellAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |