Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libUIComponent / src / org / gvsig / gui / beans / treelist / listeners / TreeListComponentListener.java @ 10741

History | View | Annotate | Download (2.18 KB)

1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2006 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 */
19
package org.gvsig.gui.beans.treelist.listeners;
20

    
21
import java.awt.FlowLayout;
22
import java.awt.GridBagConstraints;
23
import java.awt.GridBagLayout;
24
import java.awt.event.MouseEvent;
25
import java.awt.event.MouseListener;
26
import java.awt.event.MouseMotionListener;
27

    
28
import javax.swing.DefaultListModel;
29
import javax.swing.JList;
30
import javax.swing.JPanel;
31
import javax.swing.JScrollPane;
32
import javax.swing.JTree;
33
import javax.swing.ListSelectionModel;
34
import javax.swing.event.ListSelectionEvent;
35
import javax.swing.event.ListSelectionListener;
36
import javax.swing.tree.DefaultMutableTreeNode;
37
import javax.swing.tree.DefaultTreeModel;
38
import javax.swing.tree.TreePath;
39

    
40
import org.gvsig.gui.beans.treelist.event.TreeListEvent;
41
import org.gvsig.i18n.Messages;
42

    
43
/**
44
 * Interfaz que contiene los eventos del componente TreeList
45
 * Nacho Brodin (brodin_ign@gva.es)
46
 */
47

    
48
public interface TreeListComponentListener{
49
        /**
50
         * Este m?todo es ejecutado cuando se inserta un nuevo elemento en la lista
51
         * @param e TreeListEvent
52
         */
53
        public void elementAdded(TreeListEvent e);
54
        
55
        /**
56
         * Este m?todo es ejecutado cuando se elimina un elemento de la lista
57
         * @param e TreeListEvent
58
         */
59
        public void elementRemoved(TreeListEvent e);
60
        
61
        /**
62
         * Este m?todo es ejecutado cuando se mueve un elemento de la lista
63
         * @param e TreeListEvent
64
         */
65
        public void elementMoved(TreeListEvent e);
66
}