|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jcreme.tutorial.ProcessInfoReport
| Field Summary | |
protected java.lang.String[] |
columnNames
|
protected java.util.HashSet |
listeners
|
protected ProcessInfoSource |
processInfoSource
|
protected java.util.Vector |
rows
|
| Constructor Summary | |
ProcessInfoReport()
|
|
| Method Summary | |
void |
addReportChangeListener(ReportChangeListener listener)
Adds a listener to the report. |
void |
clear()
This method enables to clear the report lines. |
void |
dataChanged(DataChangeEvent e)
This method is called when a DataChangeEvent is received. |
protected void |
fireReportChangeEvent(int type,
int firstRow,
int lastRow)
|
java.lang.Class |
getColumnClass(int columnIndex)
This method enables to access the class of the objects returned by the getValueAt for this column. |
int |
getColumnCount()
This enables to know the range of values for the column indexes. |
int |
getColumnIndex(java.lang.String columnName)
This method enables to get the column index from its name. |
java.lang.String |
getColumnName(int index)
This is a convenience method to recover the name of the column from its index. |
java.lang.String[] |
getColumnNames()
This method enables to get the names of the columns present in the Report. |
ReportFilter |
getFilter()
This methods returns a filter to apply to this report. |
int |
getRowCount()
This enables to know the range of values for the row indexes. |
java.lang.String |
getTitle()
This method enables to access the title of the Report. |
java.lang.Object |
getValueAt(int row,
int column)
This method gives access to the value at the given row and column for this report. |
void |
removeReportChangeListener(ReportChangeListener listener)
Removes a listener from the list. |
void |
setFilter(ReportFilter filter)
This method enables to change the filter that applies to this report. |
void |
setProcessInfoSource(ProcessInfoSource source)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String[] columnNames
protected ProcessInfoSource processInfoSource
protected java.util.Vector rows
protected java.util.HashSet listeners
| Constructor Detail |
public ProcessInfoReport()
| Method Detail |
public void dataChanged(DataChangeEvent e)
DataChangeListener
dataChanged in interface DataChangeListenere - the event that reports the changed data.DataChangeListener.dataChanged(DataChangeEvent)public java.lang.String getTitle()
Report
getTitle in interface ReportReport.getTitle()public java.lang.String[] getColumnNames()
Report
getColumnNames in interface ReportReport.getColumnNames()public int getColumnIndex(java.lang.String columnName)
Report
getColumnIndex in interface ReportcolumnName - the name of the column for which we search the index.
Report.getColumnIndex(java.lang.String)public java.lang.String getColumnName(int index)
Report
getColumnName in interface Reportindex - the index of the column for which we search the name.
Report.getColumnName(int)public int getColumnCount()
Report
getColumnCount in interface ReportReport.getColumnCount()public int getRowCount()
Report
getRowCount in interface ReportReport.getRowCount()
public java.lang.Object getValueAt(int row,
int column)
Report
getValueAt in interface Reportrow - the row for which we want a value.column - the column for which we want a value.
Report.getValueAt(int, int)public void addReportChangeListener(ReportChangeListener listener)
Report
addReportChangeListener in interface Reportlistener - the listener that will receive ReportChangeEvents.Report.addReportChangeListener(org.jcreme.reporting.ReportChangeListener)public void removeReportChangeListener(ReportChangeListener listener)
Report
removeReportChangeListener in interface Reportlistener - the listener to remove from the list of listeners on this
report.Report.removeReportChangeListener(org.jcreme.reporting.ReportChangeListener)public void clear()
Report
clear in interface ReportReport.clear()public ReportFilter getFilter()
Report
getFilter in interface ReportReport.getFilter()public void setFilter(ReportFilter filter)
Report
setFilter in interface Reportfilter - the new filter to use on this report.Report.setFilter(org.jcreme.filters.ReportFilter)public java.lang.Class getColumnClass(int columnIndex)
Report
getColumnClass in interface ReportcolumnIndex - the index of the queried column.
Report.getColumnClass(int)public void setProcessInfoSource(ProcessInfoSource source)
source -
protected void fireReportChangeEvent(int type,
int firstRow,
int lastRow)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||