1
2
3
4
5 package org.rcfaces.core.event;
6
7 import javax.faces.component.UIComponent;
8 import javax.faces.event.FacesListener;
9
10
11
12
13 public class PreSelectionEvent extends CameliaEvent {
14
15 private static final long serialVersionUID = 6935088762418998766L;
16 private static final String REVISION = "$Revision: 1.1 $";
17
18
19 public PreSelectionEvent(UIComponent component) {
20 super(component);
21 }
22
23
24
25
26
27
28 public boolean isAppropriateListener(FacesListener listener) {
29 return (listener instanceof IPreSelectionListener);
30 }
31
32
33
34
35
36
37 public void processListener(FacesListener listener) {
38 ((IPreSelectionListener) listener).processPreSelection(this);
39 }
40
41 }