Clover Coverage Report - KS LUM 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 06:51:40 EDT
../../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
4   36   4   1
0   24   1   2
4     1  
2    
 
  ChangeViewEvent       Line # 9 4 0% 4 8 0% 0.0
  ChangeViewEvent.Handler       Line # 33 0 - 0 0 - -1.0
 
No Tests
 
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 ChangeViewEvent extends GwtEvent<ChangeViewEvent.Handler> {
10   
11    public static Type<Handler> TYPE = new Type<Handler>();
12   
13    private Enum<?> viewToken;
14   
 
15  0 toggle public ChangeViewEvent(Enum<?> viewToken) {
16  0 this.viewToken = viewToken;
17    }
18   
 
19  0 toggle public Enum<?> getViewToken() {
20  0 return viewToken;
21    }
22   
 
23  0 toggle @Override
24    public Type<Handler> getAssociatedType() {
25  0 return TYPE;
26    }
27   
 
28  0 toggle @Override
29    protected void dispatch(Handler handler) {
30  0 handler.onEvent(this);
31    }
32   
 
33    public static interface Handler extends EventHandler {
34    void onEvent(ChangeViewEvent event);
35    }
36    }