View Javadoc

1   package org.kuali.student.lum.program.client.events;
2   
3   import com.google.gwt.event.shared.EventHandler;
4   import com.google.gwt.event.shared.GwtEvent;
5   
6   /**
7    * @author Igor
8    */
9   public class ProgramViewEvent extends GwtEvent<ProgramViewEvent.Handler> {
10  
11      public static Type<Handler> TYPE = new Type<Handler>();
12  
13      @Override
14      public Type<Handler> getAssociatedType() {
15          return TYPE;
16      }
17  
18      @Override
19      protected void dispatch(Handler handler) {
20          handler.onEvent(this);
21      }
22  
23      public static interface Handler extends EventHandler {
24          void onEvent(ProgramViewEvent event);
25      }
26  }