All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.extjs.gxt.ui.client.event.MvcEvent Maven / Gradle / Ivy

The newest version!
/*
 * Sencha GXT 2.3.1 - Sencha for GWT
 * Copyright(c) 2007-2013, Sencha, Inc.
 * [email protected]
 * 
 * http://www.sencha.com/products/gxt/license/
 */
 package com.extjs.gxt.ui.client.event;

import com.extjs.gxt.ui.client.mvc.AppEvent;
import com.extjs.gxt.ui.client.mvc.Dispatcher;

/**
 * MVC event type.
 * 
 * 

* Note: For a given event, only the fields which are appropriate will be filled * in. The appropriate fields for each event are documented by the event source. */ public class MvcEvent extends BaseEvent { private AppEvent appEvent; private Dispatcher dispatcher; private String name; /** * Creates a new mvc event. * * @param d the dispatcher * @param ae the application event */ public MvcEvent(Dispatcher d, AppEvent ae) { super(d); this.dispatcher = d; this.appEvent = ae; } /** * Returns the application event. * * @return the application event */ public AppEvent getAppEvent() { return appEvent; } /** * Returns the dispatcher. * * @return the dispatcher */ public Dispatcher getDispatcher() { return dispatcher; } /** * Returns the name. * * @return the name */ public String getName() { return name; } /** * Sets the application event. * * @param appEvent the application event */ public void setAppEvent(AppEvent appEvent) { this.appEvent = appEvent; } /** * Sets the dispatcher. * * @param dispatcher the dispatcher */ public void setDispatcher(Dispatcher dispatcher) { this.dispatcher = dispatcher; } /** * Sets the name. * * @param name the name */ public void setName(String name) { this.name = name; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy