|
||||||||||
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.PrintRowTag
public class PrintRowTag
Name: PrintRowTag
Description: A class printing the contents of the current row of the surrounding
print-table tag.
Field Summary | |
---|---|
protected List |
extraRowsAfter
The extra rows to print after the data row. |
protected List |
extraRowsBefore
The extra rows to print before the data row. |
protected RowCellTag[] |
registeredRowCells
The registered row cells. |
protected float |
rotate
The rotation angle. |
protected PrintTableTag |
rowContainer
The surrounding print-table tag. |
static String |
TAG_NAME
The item's name. |
Constructor Summary | |
---|---|
PrintRowTag()
Constructs a PrintRowTag instance with no specific attributes. |
|
PrintRowTag(String name)
Constructs a PrintRowTag instance with 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. |
CellAttributes |
getCellAttributes()
Gets the cell attributes. |
String |
getDescription()
Gets a brief description for the item. |
void |
initialize()
Initializes the item. |
void |
insertExtraRow(ExtraRowTag extraRow,
int insertDirection)
Inserts a extra row. |
protected boolean |
isHeaderRow()
Tells whether the row is a header row or not. |
boolean |
isStyleable()
Tells whether or not this tag does respect style attributes or not. |
boolean |
isTrue()
Checks whether the condition is true or not. |
void |
openItem()
Opens the item. |
void |
outputRow(Row currentRow)
Performs the row output. |
void |
registerRowCell(RowCellTag rowCell)
Registers the given cell style for the specified column name. |
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 PrintTableTag rowContainer
protected float rotate
protected RowCellTag[] registeredRowCells
protected List extraRowsBefore
protected List extraRowsAfter
Constructor Detail |
---|
public PrintRowTag()
public PrintRowTag(String name)
name
- The tag name.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 foreach item.public void closeItem() throws DocumentHandlerException
closeItem
in class BaseDocumentTag
DocumentHandlerException
- Thrown in case something went wrong while closing the foreach item.public void insertExtraRow(ExtraRowTag extraRow, int insertDirection)
extraRow
- The extra row to insert.insertDirection
- The insert direction.public void outputRow(Row currentRow) throws DocumentHandlerException
currentRow
- The row to print.
DocumentHandlerException
- Thrown in case something went wrong while closing the foreach item.public void registerRowCell(RowCellTag rowCell) throws DocumentHandlerException
registerRowCell
in interface RowCellContainer
rowCell
- The row cell to register.
DocumentHandlerException
- In case the row-cell registration failed.public boolean isTrue()
Condition
isTrue
in interface Condition
Condition.isTrue()
protected boolean isHeaderRow()
public CellAttributes getCellAttributes()
getCellAttributes
in interface RowCellContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |