|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableRow
Interface for a row of the report
Method Summary | |
---|---|
void |
addColumn(int index)
Inserts the null cell at the specified position in this row |
void |
addColumn(int index,
Cell cellItem)
Inserts the Cell at the specified position in this row |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list. |
Cell |
createCellItem(int column)
Creates a new Cell for specified column in the current row |
Cell |
getCellItem(int column)
|
int |
getColCount()
|
RowsGroup |
getGroup()
Returns parental group |
TableCellRenderer |
getHeaderRenderer()
Returns renderer for the row's header |
Object |
getHeaderValue()
Returns the value of the row's header |
int |
getHeight()
|
float |
getNativeHeight()
|
boolean |
isNull()
If true, the row is null |
boolean |
isPageBreak()
Returns true if this row is the end of the page. |
boolean |
isPageHeader()
Determines an accessory of a row to page heading |
Iterator<Cell> |
iterator()
Returns an iterator over the cells in this row in proper sequence. |
Cell |
removeCell(int index)
Replaces the cell at the specified position by NullCell |
Cell |
removeColumn(int index)
Removes the cell at the specified position in this row Makes the columns' count smaller |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list. |
void |
setCellItem(Cell cellItem,
int column)
Sets Cell for specified column |
void |
setColCount(int count)
Sets column's count |
void |
setHeaderValue(Object value)
Sets the value of the row's header |
void |
setHeight(int height)
Sets the row's height |
void |
setHeight(int height,
boolean dragging)
Sets the row's height when resizing |
void |
setPageBreak(boolean b)
Sets pageBreak property |
Method Detail |
---|
int getHeight()
void setHeight(int height)
height
- new row's heightvoid setHeight(int height, boolean dragging)
height
- new row's heightdragging
- float getNativeHeight()
TableCellRenderer getHeaderRenderer()
Cell getCellItem(int column)
column
-
void setCellItem(Cell cellItem, int column)
cellItem
- -
a new Cellcolumn
- the column's indexCell createCellItem(int column)
column
-
int getColCount()
void setColCount(int count)
count
- void addColumn(int index)
index
- index at which the column is to be inserted.void addColumn(int index, Cell cellItem)
index
- index at which the specified Cell is to be inserted.cellItem
- Cell to be inserted.Cell removeColumn(int index)
index
- the index of the cell to removed.
Cell removeCell(int index)
index
- the index of the cell to removed.
boolean isPageBreak()
void setPageBreak(boolean b)
b
- if true, the sets horizontal page break after rowvoid addPropertyChangeListener(PropertyChangeListener listener)
listener
- the PropertyChangeListener to be addedvoid removePropertyChangeListener(PropertyChangeListener listener)
listener
- the PropertyChangeListener to be removedboolean isNull()
Object getHeaderValue()
void setHeaderValue(Object value)
value
- new header's valueIterator<Cell> iterator()
iterator
in interface Iterable<Cell>
RowsGroup getGroup()
boolean isPageHeader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |