Provides interfaces and classes for dealing with different types of events fired by resources. The different types of events are specified by the
StoreEventsubclasses. For example if a warning occurred while reading data from a file, then the
DataStoreimplementation should fire a
Events may occur in the following situations:
- When a warning occurred.
- When the data store content changed (e.g. new feature instance added or removed).
- When the data store structure changed (e.g. a column is added in tabular data).
- Any other change at implementation choice.
Defined in the
Interface Summary Interface Description StoreListener<T extends StoreEvent>An object which listens for events (typically changes or warnings) occurring in a resource or one of its children.
Class Summary Class Description StoreEventParent class of events happening in a data store resource. StoreListenersHolds a list of
StoreListenerinstances and provides convenience methods for sending events.
WarningEventDescribes non-fatal errors that occurred in a resource or a data store.