| Modifier and Type | Method and Description |
|---|---|
void |
addValidationToContainer(Validation validation) |
static void |
appendXMLToTable(TableRowImpl row,
XMLUtil xmlUtil,
Appendable appendable)
Append the XML corresponding to a given row to the appendable
|
void |
appendXMLToTable(XMLUtil util,
Appendable appendable)
Write the XML dataStyles for this object.
|
void |
coverRightCells(int colIndex,
int n)
Cover the cells to the right of a given index.
|
TableCellStyle |
findDefaultCellStyle(int columnIndex)
Find the default cell style for a column
|
int |
getColumnCount() |
TableCell |
getOrCreateCell(int colIndex)
Get the cell at given index.
|
RowCellWalker |
getWalker()
Deprecated.
|
boolean |
isCovered(int colIndex) |
void |
removeRowStyle()
Remove the default row style
|
int |
rowIndex() |
void |
set(int colIndex,
WritableTableCell cell)
Set a custom table cell at a given index.
|
void |
setCellMerge(int colIndex,
int rowMerge,
int columnMerge)
Set the merging of multiple cells to one cell.
|
void |
setColumnsSpanned(int colIndex,
int n)
Add a span across columns
|
void |
setRowAttribute(String attribute,
CharSequence value)
Add an attribute to a row
|
void |
setRowDefaultCellStyle(TableCellStyle ts)
Set the cell style for the cell of this row to ts.
|
void |
setRowFormat(DataStyles format)
Add a format to this TableRow
|
void |
setRowsSpanned(int colIndex,
int n)
Add a span across rows
|
void |
setRowStyle(TableRowStyle rowStyle)
Set the row style
|
public static void appendXMLToTable(TableRowImpl row, XMLUtil xmlUtil, Appendable appendable) throws IOException
row - a TableRowxmlUtil - an instance of xml utilappendable - where to append the row XMLIOException - if an error occurspublic void appendXMLToTable(XMLUtil util, Appendable appendable) throws IOException
util - a util for XML writingappendable - where to write the XMLIOException - If an I/O error occurs@Deprecated public RowCellWalker getWalker()
public void setCellMerge(int colIndex,
int rowMerge,
int columnMerge)
throws IOException
colIndex - The column, 0 is the first columnrowMerge - the number of rows to mergecolumnMerge - the number of cells to mergeIOException - if the cells can't be mergedpublic void coverRightCells(int colIndex,
int n)
colIndex - the start indexn - the number of cells to coverpublic void setColumnsSpanned(int colIndex,
int n)
colIndex - the index of the first columnn - the number of columns in the spanIllegalArgumentException - if n < 0public void setRowFormat(DataStyles format)
TableRowsetRowFormat in interface TableRowformat - the formatpublic void setRowsSpanned(int colIndex,
int n)
throws IOException
colIndex - the index of the columnn - the number of rows in the spanIOException - if the cells can't be mergedIllegalArgumentException - if n < 0 of this cells is coveredpublic TableCell getOrCreateCell(int colIndex)
colIndex - the index of the cell in the rowpublic void set(int colIndex,
WritableTableCell cell)
colIndex - the indexcell - the cellpublic void setRowStyle(TableRowStyle rowStyle)
TableRowsetRowStyle in interface TableRowrowStyle - the stylepublic int getColumnCount()
getColumnCount in interface TableRowpublic boolean isCovered(int colIndex)
colIndex - the index to look forpublic TableCellStyle findDefaultCellStyle(int columnIndex)
columnIndex - the column indexpublic void setRowDefaultCellStyle(TableCellStyle ts)
TableRowsetRowDefaultCellStyle in interface TableRowts - The table rowStyle to be usedpublic int rowIndex()
public void removeRowStyle()
TableRowremoveRowStyle in interface TableRowpublic void setRowAttribute(String attribute, CharSequence value)
TableRowsetRowAttribute in interface TableRowattribute - the attribute namevalue - the valuepublic void addValidationToContainer(Validation validation)
Copyright © 2016–2021. All rights reserved.