|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.adapters.collection.DefaultReportCollectionListener
public abstract class DefaultReportCollectionListener
Default implementation of the ReportCollectionListener
interface.
Works with the ItemsProvider
and ReportCollection
instances.
Constructor Summary | |
---|---|
DefaultReportCollectionListener(com.centrasite.control.discovery.ItemsProvider provider,
ReportCollection reportCollection)
|
Method Summary | |
---|---|
int |
getNumberOfItems()
|
void |
initialize()
Clears the ReportCollection , initializes it with null items
and prepares all items of the ItemsProvider . |
void |
prepareAllItems(ReportCollection collection)
Prepares all items of the given ReportCollection . |
void |
prepareItems(ReportCollection collection,
int topIndex,
int rowCount)
Prepares rowCounf number of items of the given collection starting from the given index. |
void |
removedLine(int line)
Notifies this listener that line with the given index has been removed from the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultReportCollectionListener(com.centrasite.control.discovery.ItemsProvider provider, ReportCollection reportCollection)
Method Detail |
---|
public void initialize()
ReportCollection
, initializes it with null items
and prepares all items of the ItemsProvider
.
initialize
in interface ReportCollectionListener
ReportCollectionListener.initialize()
public void prepareAllItems(ReportCollection collection)
ReportCollectionListener
ReportCollection
.
prepareAllItems
in interface ReportCollectionListener
ReportCollectionListener.initialize()
public void prepareItems(ReportCollection collection, int topIndex, int rowCount)
ReportCollectionListener
prepareItems
in interface ReportCollectionListener
topIndex
- Index to start from.rowCount
- Number of items to be prepared.ReportCollectionListener.initialize()
public void removedLine(int line)
ReportCollectionListener
removedLine
in interface ReportCollectionListener
ReportCollectionListener.initialize()
public int getNumberOfItems()
ReportCollectionListener.initialize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |