public interface DataDirectorListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
pollingRequired(PollingRequiredEvent polling)
Event fired to inform listeners that the given DataDirector requires polling to retrieve data using
the DataDirector3 events getStatus and possibly fireEvents.
|
void |
viewDataAvailable(DataAvailableEvent e)
Responds when data is ready or revoked.
|
void |
viewDataChanged(DataChangedEvent e)
Responds to changes to the actual data or metadata.
|
void |
waitDataAvailable(WaitDataAvailableEvent e)
Responds when data is available to replace a
WaitData . |
void viewDataChanged(DataChangedEvent e)
e
- Information about the change in the data.void viewDataAvailable(DataAvailableEvent e)
e
- Information about the data provider.void waitDataAvailable(WaitDataAvailableEvent e)
WaitData
.
When a view requests a data value that a data source has not fetched yet,
the DataDirector
returns a WaitData
object
instead of the data value.
Then, when the data has been fetched and is available, the
DataDirector
calls this method.e
- Information about the fetch.DataDirector
,
WaitData
void pollingRequired(PollingRequiredEvent polling)
event
- Event informing listener of data needing polling