|
||||||||||
| 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 TableRowModelcreateTableRow in class ReportRowModelprotected void updateHeaderValue()
updateHeaderValue in class ReportRowModelprotected RootGroup createRootGroup()
createRootGroup in class ReportRowModelprotected void clearPageHeader(int startRow)
ReportRowModel
clearPageHeader in class ReportRowModel
public void updatePages(int startRow,
int pageHeight)
TableRowModel
updatePages in interface TableRowModelupdatePages in class ReportRowModelstartRow - the first row for calculationpageHeight - page height in pixels
public 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 TableRowModelmoveDraggedRow in class ReportRowModelrowIndex - the index of row to be movednewIndex - index of the row's new location
public void moveRow(int rowIndex,
int newIndex)
TableRowModel
moveRow in interface TableRowModelmoveRow in class ReportRowModelrowIndex - the index of row to be movednewIndex - index of the row's new location
public 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 | |||||||||