fulmine.model.container.events
Interface IContainerStateChangeListener


public interface IContainerStateChangeListener

Notifies IEventListener instances when specific IContainer instances generate a ContainerStateChangeEvent.

Author:
Ramon Servadei

Method Summary
 void addListenerFor(IContainer container, IEventListener listener)
          Add a listener to receive any ContainerStateChangeEvent events generated by the container.
 void removeListenerFor(IContainer container, IEventListener listener)
          Remove a listener from receiving any ContainerStateChangeEvent events generated by the container.
 

Method Detail

addListenerFor

void addListenerFor(IContainer container,
                    IEventListener listener)
Add a listener to receive any ContainerStateChangeEvent events generated by the container.

Parameters:
container - the container to listen for state change events
listener - the listener to receive the state change events from the container

removeListenerFor

void removeListenerFor(IContainer container,
                       IEventListener listener)
Remove a listener from receiving any ContainerStateChangeEvent events generated by the container.

Parameters:
container - the container that generates the state change events
listener - the listener that will no longer receive the state change events from the container


Copyright © 2007-2009. All Rights Reserved.