data.events
Class StockChangeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--data.events.StockChangeEvent
- public abstract class StockChangeEvent
- extends EventObject
Abstract super class of all events indicating changes in a Stock's contents.
The concrete implementations depend on the concrete implementations of the Stock interface.
- Since:
- v2.0
- Version:
- 2.0 19/08/1999
- Author:
- Steffen Zschaler
- See Also:
- Serialized Form
StockChangeEvent
public StockChangeEvent(ListenableStock lstSource,
DataBasket dbBasket)
- Create a new StockChangeEvent.
- Parameters:
lstSource
- the Stock that triggers the event.dbBasket
- the basket used for the operation.
getAffectedKey
public abstract String getAffectedKey()
- Get the name of the items that are affected by the event.
- Override:
- Always.
countAffectedItems
public abstract int countAffectedItems()
- Count the items affected by this event.
- Override:
- Always.
getAffectedItems
public abstract Iterator getAffectedItems()
- Get the items that are affected by the event.
- Override:
- Always.
getBasket
public DataBasket getBasket()
- Get the DataBasket used for the operation.
- Override:
- Never.