org.salespointframework.core
Interface HelpableListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
CatalogFilter, CatalogListModel, CatalogTableModel, CountingStockListModel, CountingStockTableModel, CurrencyFilter, DataBasketListModel, DataBasketTableModel, StoringStockListModel, StoringStockTableModel, UserComboBoxModel, UserListModel, UserTableModel

public interface HelpableListener
extends java.util.EventListener

A listener that can be helped by ListenerHelper. HelpableListeners must use a ListenerHelper to maintain their list of listeners. Whenever a query is performed on the HelpableListener it must assure up-to-date-ness of its model by calling (@link ListenerHelper#needModelUpdate}.

Since:
v2.0
Version:
2.0 02/06/1999
Author:
Steffen Zschaler
See Also:
ListenerHelper

Method Summary
 void subscribe()
          Called when the listener should subscribe to its own event source.
 void unsubscribe()
          Called when the listener should unsubscribe from its own event source.
 void updateModel()
          Called to update the listeners own model representation.
 

Method Detail

subscribe

void subscribe()
Called when the listener should subscribe to its own event source.


unsubscribe

void unsubscribe()
Called when the listener should unsubscribe from its own event source.


updateModel

void updateModel()
Called to update the listeners own model representation.