|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjdbreport.source.BufferedDataSet
public class BufferedDataSet
| Field Summary | |
|---|---|
protected EventListenerList |
listenerList
|
| Constructor Summary | |
|---|---|
BufferedDataSet(ReportDataSet ds)
|
|
BufferedDataSet(ReportDataSet ds,
Map<Object,Object> vars)
|
|
| Method Summary | |
|---|---|
void |
addDataSetListener(DataSetListener listener)
|
boolean |
checkParamsChange(MasterDataSet masterDS)
|
Object |
clone()
|
void |
cursorChange(CursorChangedEvent evt)
|
boolean |
findColumn(String name)
|
void |
fireDataSetCursorChanged()
|
Collection<String> |
getColumnNames()
Returns names' collection of columns or properties |
Object |
getCurrentObject()
Returns a current object, can be null |
String |
getId()
|
String |
getMasterId()
Returns id of the leading DataSet |
Object |
getNextValue(String name)
|
and.dbcomp.DataSetParams |
getParams()
Returns parameters |
Object |
getValue(String name)
Returns value from the current record (object) by the name |
Map<Object,Object> |
getVars()
|
boolean |
hasNext()
|
boolean |
isCursorChange()
|
boolean |
isDsEof()
|
boolean |
isEof()
|
boolean |
next()
Moves the cursor on the next record (object) in the DataSet |
void |
open()
|
void |
removeDataSetListener(DataSetListener listener)
|
boolean |
reopen()
Reopens the DataSet when the MasterDataSet changes parameters |
void |
resetCursorPos()
|
void |
setVars(Map<Object,Object> vars)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EventListenerList listenerList
| Constructor Detail |
|---|
public BufferedDataSet(ReportDataSet ds)
public BufferedDataSet(ReportDataSet ds,
Map<Object,Object> vars)
| Method Detail |
|---|
public void setVars(Map<Object,Object> vars)
public Map<Object,Object> getVars()
public void open()
throws ReportException
ReportException
public boolean reopen()
throws ReportException
ReportDataSet
reopen in interface ReportDataSetReportException
public boolean next()
throws ReportException
ReportDataSet
next in interface ReportDataSetReportException
public Object getValue(String name)
throws ReportException
ReportDataSet
getValue in interface ReportDataSetname - -
the column's name or the property's name
ReportExceptionpublic boolean findColumn(String name)
public String getId()
getId in interface ReportDataSetpublic Object clone()
clone in interface ReportDataSetclone in class Object
public Collection<String> getColumnNames()
throws ReportException
ReportDataSet
getColumnNames in interface ReportDataSetReportException
public Object getNextValue(String name)
throws ReportException
ReportExceptionpublic boolean isDsEof()
public boolean isEof()
public void addDataSetListener(DataSetListener listener)
addDataSetListener in interface MasterDataSetpublic void removeDataSetListener(DataSetListener listener)
removeDataSetListener in interface MasterDataSetpublic void fireDataSetCursorChanged()
public and.dbcomp.DataSetParams getParams()
throws ReportException
ReportDataSet
getParams in interface ReportDataSetReportExceptionpublic boolean checkParamsChange(MasterDataSet masterDS)
public void cursorChange(CursorChangedEvent evt)
cursorChange in interface DataSetListenerpublic String getMasterId()
ReportDataSet
getMasterId in interface ReportDataSetpublic void resetCursorPos()
public boolean isCursorChange()
public Object getCurrentObject()
ReportDataSet
getCurrentObject in interface ReportDataSetpublic boolean hasNext()
hasNext in interface ReportDataSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||