|
||||||||||
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.CellTag
public class CellTag
Name: CellTag
Description: An item handling table cells.
Field Summary | |
---|---|
protected CellContainer |
cellContainer
The cell container. |
static String |
TAG_NAME
The item's name. |
Constructor Summary | |
---|---|
CellTag()
Constructs a CellTag instance with no specific attributes. |
Method Summary | |
---|---|
void |
addCell(BaseDocumentTag item,
com.lowagie.text.Cell cell)
Adds a cell to the container. |
void |
addElement(BaseDocumentTag item,
com.lowagie.text.Element element)
Adds a element to the container. |
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. |
CellAttributes |
getCellAttributes()
Gets the cell attributes. |
String |
getDescription()
Gets a brief description for the item. |
float |
getLeading()
Gets the fixed vertical leading distance. |
float |
getLineSpacing()
Gets the line spacing. |
int |
getRemainingColumns()
Gets the number of remaining columns of the current row. |
void |
initialize()
Initializes the item. |
boolean |
isStyleable()
Tells whether or not this tag does respect style attributes or not. |
boolean |
isTopLevel()
Tells whether the element container is a top level container or not. |
void |
openItem()
Opens the item. |
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
protected CellContainer cellContainer
Constructor Detail |
---|
public CellTag()
Method Detail |
---|
public String getDescription()
getDescription
in class BaseDocumentTag
protected AttributeDefinitionMap buildSupportedAttributes()
buildSupportedAttributes
in class BaseDocumentTag
protected AttributeDefinitionMap buildSupportedStyleAttributes()
buildSupportedStyleAttributes
in class BaseDocumentTag
public ChildDefinitionMap buildSupportedChilds()
buildSupportedChilds
in class BaseDocumentTag
public boolean isStyleable()
isStyleable
in class BaseDocumentTag
true
.public void initialize() throws DocumentHandlerException
initialize
in class BaseDocumentTag
DocumentHandlerException
- If something went badly wrong.public void openItem() throws DocumentHandlerException
openItem
in class BaseDocumentTag
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 addElement(BaseDocumentTag item, com.lowagie.text.Element element) throws DocumentHandlerException
addElement
in interface ElementContainer
item
- The document item.element
- The element to be added.
DocumentHandlerException
- If something went wrong when adding the element.public boolean isTopLevel()
isTopLevel
in interface ElementContainer
public float getLeading()
getLeading
in interface CommonAttributesHolder
public float getLineSpacing()
getLineSpacing
in interface CommonAttributesHolder
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 CellAttributes getCellAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |