|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdbreport.model.NullReportRow
public class NullReportRow
Constructor Summary | |
---|---|
NullReportRow()
|
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 end)
Sets pageBreak property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullReportRow()
Method Detail |
---|
public int getHeight()
getHeight
in interface TableRow
public void setHeight(int height)
TableRow
setHeight
in interface TableRow
height
- new row's heightpublic void setHeight(int height, boolean dragging)
TableRow
setHeight
in interface TableRow
height
- new row's heightpublic float getNativeHeight()
getNativeHeight
in interface TableRow
public TableCellRenderer getHeaderRenderer()
TableRow
getHeaderRenderer
in interface TableRow
public Object getHeaderValue()
TableRow
getHeaderValue
in interface TableRow
public Cell getCellItem(int column)
getCellItem
in interface TableRow
public void setCellItem(Cell cellItem, int column)
TableRow
setCellItem
in interface TableRow
cellItem
- -
a new Cellcolumn
- the column's indexpublic int getColCount()
getColCount
in interface TableRow
public void setColCount(int count)
TableRow
setColCount
in interface TableRow
public boolean isNull()
TableRow
isNull
in interface TableRow
public void addColumn(int index, Cell cellItem)
TableRow
addColumn
in interface TableRow
index
- index at which the specified Cell is to be inserted.cellItem
- Cell to be inserted.public Cell removeColumn(int index)
TableRow
removeColumn
in interface TableRow
index
- the index of the cell to removed.
public void addColumn(int index)
TableRow
addColumn
in interface TableRow
index
- index at which the column is to be inserted.public boolean isPageBreak()
TableRow
isPageBreak
in interface TableRow
public void setPageBreak(boolean end)
TableRow
setPageBreak
in interface TableRow
end
- if true, the sets horizontal page break after rowpublic void addPropertyChangeListener(PropertyChangeListener listener)
TableRow
addPropertyChangeListener
in interface TableRow
listener
- the PropertyChangeListener to be addedpublic void removePropertyChangeListener(PropertyChangeListener listener)
TableRow
removePropertyChangeListener
in interface TableRow
listener
- the PropertyChangeListener to be removedpublic Cell createCellItem(int column)
TableRow
createCellItem
in interface TableRow
public Cell removeCell(int index)
TableRow
removeCell
in interface TableRow
index
- the index of the cell to removed.
public void setHeaderValue(Object value)
TableRow
setHeaderValue
in interface TableRow
value
- new header's valuepublic Iterator<Cell> iterator()
TableRow
iterator
in interface Iterable<Cell>
iterator
in interface TableRow
public RowsGroup getGroup()
TableRow
getGroup
in interface TableRow
public boolean isPageHeader()
TableRow
isPageHeader
in interface TableRow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |