|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdbreport.model.ReportRowModel
jdbreport.design.model.TemplateRowModel
public class TemplateRowModel
Field Summary |
---|
Fields inherited from class jdbreport.model.ReportRowModel |
---|
changeEvent, listenerList, rowList, rowMargin |
Fields inherited from interface jdbreport.model.TableRowModel |
---|
maxHeight, minHeight |
Constructor Summary | |
---|---|
TemplateRowModel(JReportModel reportModel)
|
Method Summary | |
---|---|
int |
addRows(int count,
int ind,
int type)
|
protected void |
clearPageHeader(int startRow)
removes all page headers and page footers from report |
protected RootGroup |
createRootGroup()
|
TableRow |
createTableRow()
Creates new default TableRow |
protected TableRow |
getNullRow()
|
void |
moveDraggedRow(int rowIndex,
int newIndex)
Moves the dragged row and its header at rowIndex to newIndex. |
void |
moveRow(int rowIndex,
int newIndex)
Moves the row and its header at rowIndex to newIndex. |
void |
setRowType(int[] selectedRows,
int type)
Sets type of the selected rows |
protected void |
updateHeaderValue()
|
void |
updatePages(int startRow,
int pageHeight)
Calculates pages' size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateRowModel(JReportModel reportModel)
Method Detail |
---|
public TableRow createTableRow()
TableRowModel
createTableRow
in interface TableRowModel
createTableRow
in class ReportRowModel
protected void updateHeaderValue()
updateHeaderValue
in class ReportRowModel
protected RootGroup createRootGroup()
createRootGroup
in class ReportRowModel
protected void clearPageHeader(int startRow)
ReportRowModel
clearPageHeader
in class ReportRowModel
public void updatePages(int startRow, int pageHeight)
TableRowModel
updatePages
in interface TableRowModel
updatePages
in class ReportRowModel
startRow
- the first row for calculationpageHeight
- page height in pixelspublic void setRowType(int[] selectedRows, int type)
selectedRows
- - the selected rowstype
- - the row's typeprotected TableRow getNullRow()
getNullRow
in class ReportRowModel
public void moveDraggedRow(int rowIndex, int newIndex)
TableRowModel
moveDraggedRow
in interface TableRowModel
moveDraggedRow
in class ReportRowModel
rowIndex
- the index of row to be movednewIndex
- index of the row's new locationpublic void moveRow(int rowIndex, int newIndex)
TableRowModel
moveRow
in interface TableRowModel
moveRow
in class ReportRowModel
rowIndex
- the index of row to be movednewIndex
- index of the row's new locationpublic int addRows(int count, int ind, int type)
count
- the rows countind
- the row's indextype
- the group's type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |