1 /*
2 * $Id: ICheckEventCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 *
4 */
5
6 package org.rcfaces.core.component.capability;
7
8 import javax.faces.event.FacesListener;
9
10 import org.rcfaces.core.event.ICheckListener;
11
12 /**
13 *
14 *
15 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
16 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
17 */
18 public interface ICheckEventCapability {
19
20 /**
21 * Adds a listener to the component for the checked event
22 *
23 * @param checkListener
24 * the listener to add
25 */
26 void addCheckListener(ICheckListener checkListener);
27
28 /**
29 * Removes a listener from the list of listeners
30 *
31 * @param checkListener
32 * the listener to remove
33 */
34 void removeCheckListener(ICheckListener checkListener);
35
36 /**
37 * Returns the list of check listener for the component
38 *
39 * @return check listeners' list
40 */
41 FacesListener[] listCheckListeners();
42 }