Coverage Report - org.openpermis.editor.policy.gui.event.EventDispatcher
 
Classes in this File Line Coverage Branch Coverage Complexity
EventDispatcher
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport
 3  
  *                     (http://www.vbs.admin.ch)
 4  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 5  
  * All rights reserved.
 6  
  *
 7  
  * Licensed under the Open Permis License which accompanies this distribution,
 8  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 9  
  */
 10  
 package org.openpermis.editor.policy.gui.event;
 11  
 
 12  
 /**
 13  
  * Dispatcher interface that dispatches an event.
 14  
  * @param <T> the type of event listeners supported.
 15  
  * @since 0.1.0
 16  
  */
 17  
 public interface EventDispatcher <T extends EventListener> {
 18  
         
 19  
         //---- Methods
 20  
         
 21  
         /**
 22  
          * Dispatches an event on the specified listener.
 23  
          * @param listener the listener to dispatch the event on.
 24  
          * @since 0.1.0
 25  
          */
 26  
         public void dispatch (T listener);
 27  
 
 28  
 }
 29