![JAR search and dependency download from the Maven repository](/logo.png)
com.extjs.gxt.ui.client.event.TreeGridEvent Maven / Gradle / Ivy
/*
* 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.data.ModelData;
import com.extjs.gxt.ui.client.widget.treegrid.TreeGrid;
import com.extjs.gxt.ui.client.widget.treegrid.TreeGrid.TreeNode;
import com.google.gwt.user.client.Event;
@SuppressWarnings({"unchecked","rawtypes"})
public class TreeGridEvent extends GridEvent {
private TreeGrid treeGrid;
private TreeNode treeNode;
/**
* Creates a new tree grid event.
*
* @param grid the source tree grid
*/
public TreeGridEvent(TreeGrid grid) {
super(grid);
this.treeGrid = (TreeGrid) grid;
}
/**
* Creates a new tree grid event.
*
* @param grid the tree grid
* @param event the event
*/
public TreeGridEvent(TreeGrid grid, Event event) {
super(grid, event);
this.treeGrid = (TreeGrid) grid;
}
/**
* Returns the source tree grid.
*
* @return the tree grid
*/
public TreeGrid getTreeGrid() {
return treeGrid;
}
/**
* Returns the source tree node.
*
* @return the tree node
*/
public TreeNode getTreeNode() {
return treeNode;
}
/**
* Sets the source tree grid.
*
* @param treeGrid the tree grid
*/
public void setTreeGrid(TreeGrid treeGrid) {
this.treeGrid = treeGrid;
}
/**
* Sets the source tree node.
*
* @param treeNode the source tree node
*/
public void setTreeNode(TreeNode treeNode) {
this.treeNode = treeNode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy