|
||||||||||
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 ReportDataSet
ReportException
public boolean next() throws ReportException
ReportDataSet
next
in interface ReportDataSet
ReportException
public Object getValue(String name) throws ReportException
ReportDataSet
getValue
in interface ReportDataSet
name
- -
the column's name or the property's name
ReportException
public boolean findColumn(String name)
public String getId()
getId
in interface ReportDataSet
public Object clone()
clone
in interface ReportDataSet
clone
in class Object
public Collection<String> getColumnNames() throws ReportException
ReportDataSet
getColumnNames
in interface ReportDataSet
ReportException
public Object getNextValue(String name) throws ReportException
ReportException
public boolean isDsEof()
public boolean isEof()
public void addDataSetListener(DataSetListener listener)
addDataSetListener
in interface MasterDataSet
public void removeDataSetListener(DataSetListener listener)
removeDataSetListener
in interface MasterDataSet
public void fireDataSetCursorChanged()
public and.dbcomp.DataSetParams getParams() throws ReportException
ReportDataSet
getParams
in interface ReportDataSet
ReportException
public boolean checkParamsChange(MasterDataSet masterDS)
public void cursorChange(CursorChangedEvent evt)
cursorChange
in interface DataSetListener
public String getMasterId()
ReportDataSet
getMasterId
in interface ReportDataSet
public void resetCursorPos()
public boolean isCursorChange()
public Object getCurrentObject()
ReportDataSet
getCurrentObject
in interface ReportDataSet
public boolean hasNext()
hasNext
in interface ReportDataSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |