Coverage Report - org.kuali.student.common.ui.client.event.ExportEvent
 
Classes in this File Line Coverage Branch Coverage Complexity
ExportEvent
0%
0/12
N/A
1
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may
 3  
  * not use this file except in compliance with the License. You may obtain a copy of the License at
 4  
  * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed
 5  
  * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 6  
  * implied. See the License for the specific language governing permissions and limitations under the License.
 7  
  */
 8  
 
 9  
 package org.kuali.student.common.ui.client.event;
 10  
 
 11  
 import org.kuali.student.common.ui.client.mvc.ApplicationEvent;
 12  
 
 13  0
 public class ExportEvent extends ApplicationEvent<ExportEventHandler> {
 14  0
     public static final Type<ExportEventHandler> TYPE = new Type<ExportEventHandler>();
 15  
     private Object currentView;
 16  
 
 17  
     public ExportEvent(Object currentView) {
 18  0
         super();
 19  0
         this.currentView = currentView;
 20  0
         System.out.println("Constructor for ExportEvent....");
 21  0
     }
 22  
 
 23  
     @Override
 24  
     protected void dispatch(ExportEventHandler handler) {
 25  0
         handler.onExport(this);
 26  
 
 27  0
     }
 28  
 
 29  
     @Override
 30  
     public com.google.gwt.event.shared.GwtEvent.Type<ExportEventHandler> getAssociatedType() {
 31  
         // TODO Administrator - THIS METHOD NEEDS JAVADOCS
 32  0
         return null;
 33  
     }
 34  
 
 35  
     public Object getCurrentView() {
 36  0
         return currentView;
 37  
     }
 38  
 
 39  
     public void setCurrentView(Object currentView) {
 40  0
         this.currentView = currentView;
 41  0
     }
 42  
 }