|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
org.jcreme.reporting.ReportChangeEvent
Instances of this class signal changes in a Report object. They are typically used to enable a GUI refresh.
| Field Summary | |
static int |
COLUMN_LIST
This type signals that the column list has changed. |
static int |
DELETE
This type signals that some lines have been removed. |
static int |
INSERT
This type signals that new lines have been added. |
static int |
UPDATE
This type signals that some lines have changed. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ReportChangeEvent(Report source)
Creates new ReportChangeEvent |
|
ReportChangeEvent(Report source,
int row)
Creates new ReportChangeEvent |
|
ReportChangeEvent(Report source,
int firstRow,
int lastRow)
Creates new ReportChangeEvent |
|
ReportChangeEvent(Report source,
int firstRow,
int lastRow,
int column)
Creates new ReportChangeEvent |
|
ReportChangeEvent(Report source,
int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
Creates new ReportChangeEvent |
|
ReportChangeEvent(Report source,
int firstRow,
int lastRow,
int firstColumn,
int lastColumn,
int type)
Creates new ReportChangeEvent |
|
| Method Summary | |
int |
getFirstColumn()
This method gives access to the number of the first column that has changed. |
int |
getFirstRow()
This method gives access to the number of the first line that has changed. |
int |
getLastColumn()
This method gives access to the number of the last column that has changed. |
int |
getLastRow()
This method gives access to the number of the last line that has changed. |
int |
getType()
Gives access to the type of change that occured in the source. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int INSERT
public static final int UPDATE
public static final int DELETE
public static final int COLUMN_LIST
| Constructor Detail |
public ReportChangeEvent(Report source)
source - the report that changed.
public ReportChangeEvent(Report source,
int row)
source - the report that changed.row - the row that changed in the report.
public ReportChangeEvent(Report source,
int firstRow,
int lastRow)
source - the report that changed.firstRow - the first row that changed in the report.lastRow - the last row that changed in the report.
public ReportChangeEvent(Report source,
int firstRow,
int lastRow,
int column)
source - the report that changed.firstRow - the first row that changed in the report.lastRow - the last row that changed in the report.column - the column that changed in the lines.
public ReportChangeEvent(Report source,
int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
source - the report that changed.firstRow - the first row that changed in the report.lastRow - the last row that changed in the report.firstColumn - the first column that changed in the lines.lastColumn - the last column that changed in the lines.
public ReportChangeEvent(Report source,
int firstRow,
int lastRow,
int firstColumn,
int lastColumn,
int type)
source - the report that changed.firstRow - the first row that changed in the report.lastRow - the last row that changed in the report.firstColumn - the first column that changed in the lines.lastColumn - the last column that changed in the lines.type - the type of change that occured.| Method Detail |
public int getFirstRow()
public int getLastRow()
public int getFirstColumn()
public int getLastColumn()
public int getType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||