View Javadoc

1   package org.lcsim.conditions;
2   
3   import java.util.EventListener;
4   
5   /**
6    * A conditions listener can be registered by objects wishing to be notified
7    * when a specific set of conditions changes.
8    * @author Tony Johnson
9    */
10  public interface ConditionsListener extends EventListener {
11      /**
12       * Called when the conditions associated with this listener change.
13       * @param event The event associated with the change.
14       */
15      void conditionsChanged(ConditionsEvent event);
16  }