com.extjs.gxt.ui.client.event.TreeEvent 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
/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007, 2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
package com.extjs.gxt.ui.client.event;
import com.extjs.gxt.ui.client.widget.tree.Tree;
import com.extjs.gxt.ui.client.widget.tree.TreeItem;
/**
* Tree 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.
*
* @see Tree
*/
public class TreeEvent extends ContainerEvent {
/**
* The source tree.
*/
public Tree tree;
/**
* The parent item.
*/
public TreeItem parent;
/**
* Creates a new tree event.
*
* @param tree the source tree
*/
public TreeEvent(Tree tree) {
super(tree);
this.tree = tree;
}
/**
* Creates a new tree event.
*
* @param tree the source tree
* @param item the tree item
*/
public TreeEvent(Tree tree, TreeItem item) {
super(tree, item);
this.tree = tree;
}
}