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

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

There is a newer version: 2.3.1-gwt22
Show newest version
/*
 * 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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy