Statistics
| Revision:

svn-gvsig-desktop / trunk / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / ShowTreeDialog.java @ 2658

History | View | Annotate | Download (2.45 KB)

1
/*
2
 * Created on 01-jun-2005
3
 *
4
 * TODO To change the template for this generated file go to
5
 * Window - Preferences - Java - Code Style - Code Templates
6
 */
7
package es.gva.cit.catalogClient.ui;
8

    
9
import java.awt.Dimension;
10
import java.awt.event.WindowEvent;
11
import java.awt.event.WindowListener;
12

    
13
import javax.swing.JDialog;
14

    
15
import org.w3c.dom.Node;
16

    
17
import es.gva.cit.catalogClient.utils.Frames;
18

    
19
/**
20
 * @author jpiera
21
 *
22
 * TODO To change the template for this generated type comment go to
23
 * Window - Preferences - Java - Code Style - Code Templates
24
 */
25
public class ShowTreeDialog  extends JDialog implements WindowListener{
26
        private ShowTreeDialogPanel contentPane = null;
27
        Node node;
28
        int currentNode;
29
        
30
        public ShowTreeDialog(Node node){
31
                super();
32
                this.node = node;
33
                                
34
                initialize();
35
        }
36
                
37
        
38
        /**
39
         * This method initializes jDialog        
40
         *         
41
         * @return javax.swing.JDialog        
42
         */    
43
        private void initialize() {
44
                Frames.CenterFrame(this);
45
                
46
                this.setSize(new Dimension(800,775));
47
                this.setTitle("Cliente de Cat?logo");
48
                
49
                getContentPane().add(new ShowTreeDialogPanel(node));
50
                                
51
                this.setVisible(true);
52
        }
53

    
54

    
55
        /* (non-Javadoc)
56
         * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
57
         */
58
        public void windowActivated(WindowEvent e) {
59
                // TODO Auto-generated method stub
60
                
61
        }
62

    
63

    
64
        /* (non-Javadoc)
65
         * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
66
         */
67
        public void windowClosed(WindowEvent e) {
68
                // TODO Auto-generated method stub
69
                
70
        }
71

    
72

    
73
        /* (non-Javadoc)
74
         * @see java.awt.event.WindowListener#windowClosing(java.awt.event.WindowEvent)
75
         */
76
        public void windowClosing(WindowEvent e) {
77
                // TODO Auto-generated method stub
78
                
79
        }
80

    
81

    
82
        /* (non-Javadoc)
83
         * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
84
         */
85
        public void windowDeactivated(WindowEvent e) {
86
                // TODO Auto-generated method stub
87
                
88
        }
89

    
90

    
91
        /* (non-Javadoc)
92
         * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
93
         */
94
        public void windowDeiconified(WindowEvent e) {
95
                // TODO Auto-generated method stub
96
                
97
        }
98

    
99

    
100
        /* (non-Javadoc)
101
         * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
102
         */
103
        public void windowIconified(WindowEvent e) {
104
                // TODO Auto-generated method stub
105
                
106
        }
107

    
108

    
109
        /* (non-Javadoc)
110
         * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
111
         */
112
        public void windowOpened(WindowEvent e) {
113
                // TODO Auto-generated method stub
114
                
115
        }
116

    
117
        
118
}
119

    
120