com.extjs.gxt.ui.client.event.BindingEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Sencha GXT 2.3.1a - 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.binding.Bindings;
import com.extjs.gxt.ui.client.data.ModelData;
/**
* BindingEvent type.
*/
public class BindingEvent extends BaseEvent {
private ModelData model;
/**
* Creates a new bindings event.
*
* @param bindings the bindings instance
* @param model the bound model
*/
public BindingEvent(Bindings bindings, ModelData model) {
super(bindings);
this.model = model;
}
/**
* Returns the bound model.
*
* @return the bound model
*/
public ModelData getModel() {
return model;
}
/**
* Sets the bound model.
*
* @param model the model that is bound
*/
public void setModel(ModelData model) {
this.model = model;
}
}