1 /*
2 * $Id: IDropCompleteEventCapability.java,v 1.1 2010/07/09 14:29:11 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.IDropCompleteListener;
10
11 /**
12 *
13 *
14 * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
15 * @version $Revision: 1.1 $ $Date: 2010/07/09 14:29:11 $
16 */
17 public interface IDropCompleteEventCapability {
18
19 /**
20 * Adds a listener to the component for the drop event
21 *
22 * @param facesListener
23 * the drop listener to add
24 */
25 void addDropCompleteListener(IDropCompleteListener facesListener);
26
27 /**
28 * Removes a listener from the component for the drop event
29 *
30 * @param facesListener
31 * the drop listener to remove
32 */
33 void removeDropCompleteListener(IDropCompleteListener facesListener);
34
35 /**
36 * Returns a list of drop listeners for the component
37 *
38 * @return drop listeners' list
39 */
40 FacesListener[] listDropCompleteListeners();
41 }