View Javadoc

1   /*
2    * $Id: IAdditionalInformationEventCapability.java,v 1.1 2007/07/05 13:32:58 oeuillot Exp $
3    */
4   
5   package org.rcfaces.core.component.capability;
6   
7   import javax.faces.event.FacesListener;
8   
9   import org.rcfaces.core.event.IAdditionalInformationListener;
10  
11  /**
12   * 
13   * 
14   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
15   * @version $Revision: 1.1 $ $Date: 2007/07/05 13:32:58 $
16   */
17  public interface IAdditionalInformationEventCapability {
18  
19      /**
20       * Adds a listener to the component for the additional event
21       * 
22       * @param facesListener
23       *            the selection listener to add
24       */
25      void addAdditionalInformationListener(
26              IAdditionalInformationListener facesListener);
27  
28      /**
29       * Removes a listener from the component for the additional event
30       * 
31       * @param facesListener
32       *            the selection listener to remove
33       */
34      void removeAdditionalInformationListener(
35              IAdditionalInformationListener facesListener);
36  
37      /**
38       * Returns a list of additional listener for the component
39       * 
40       * @return selection listeners' list
41       */
42      FacesListener[] listAdditionalInformationListeners();
43  }