1 16 package javax.faces.event; 17 18 import javax.faces.component.UIComponent; 19 20 24 public class ActionEvent extends FacesEvent 25 { 26 27 29 public ActionEvent(UIComponent uiComponent) 31 { 32 super(uiComponent); 33 if (uiComponent == null) throw new IllegalArgumentException ("uiComponent"); 34 } 35 36 public boolean isAppropriateListener(FacesListener facesListeners) 38 { 39 return facesListeners instanceof ActionListener; 40 } 41 42 public void processListener(FacesListener facesListeners) 43 { 44 ((ActionListener)facesListeners).processAction(this); 45 } 46 47 } 48 | Popular Tags |