Statistics
| Revision:

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

History | View | Annotate | Download (3.92 KB)

1 2820 jorpiell
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2004 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
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *      +34 963862235
28
 *   gvsig@gva.es
29
 *      www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   IVER T.I. S.A
34
 *   Salamanca 50
35
 *   46005 Valencia
36
 *   Spain
37
 *
38
 *   +34 963163400
39
 *   dac@iver.es
40 2047 luisw
 */
41
package es.gva.cit.catalogClient.ui;
42
43 2724 jorpiell
import es.gva.cit.catalogClient.CatalogClient;
44
import es.gva.cit.catalogClient.utils.Frames;
45
46
import org.w3c.dom.Node;
47
48 2145 jorpiell
import java.awt.Dimension;
49
import java.awt.event.WindowEvent;
50
import java.awt.event.WindowListener;
51
52 2047 luisw
import javax.swing.JDialog;
53
54
55
/**
56 2820 jorpiell
 * DOCUMENT ME!
57
 *
58 2047 luisw
 * @author luisw
59
 */
60 2724 jorpiell
public class ShowResultsDialog extends JDialog implements WindowListener {
61
    private ShowTreeDialogPanel contentPane = null;
62
    CatalogClient client;
63
    Node[] nodes;
64
    int currentRecord;
65 2145 jorpiell
66 2820 jorpiell
    /**
67
     * Crea un nuevo ShowResultsDialog.
68
     *
69
     * @param client DOCUMENT ME!
70
     * @param nodes DOCUMENT ME!
71
     * @param currentRecord DOCUMENT ME!
72
     */
73 2724 jorpiell
    public ShowResultsDialog(CatalogClient client, Node[] nodes,
74
        int currentRecord) {
75
        super();
76
        this.client = client;
77
        this.nodes = nodes;
78
        this.currentRecord = currentRecord;
79
        initialize();
80
    }
81 2145 jorpiell
82 2724 jorpiell
    /**
83
     * This method initializes jDialog
84
     */
85
    private void initialize() {
86
        Frames.CenterFrame(this);
87 2145 jorpiell
88 2724 jorpiell
        this.setSize(new Dimension(625, 425));
89
        this.setTitle("Cliente de Cat?logo");
90 2145 jorpiell
91 2724 jorpiell
        getContentPane().add(new ShowResultsDialogPanel(client, nodes,
92
                currentRecord));
93 2145 jorpiell
94 2724 jorpiell
        this.setVisible(true);
95
    }
96 2145 jorpiell
97 2724 jorpiell
    /* (non-Javadoc)
98
     * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
99
     */
100
    public void windowActivated(WindowEvent e) {
101
        // TODO Auto-generated method stub
102
    }
103 2145 jorpiell
104 2724 jorpiell
    /* (non-Javadoc)
105
     * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
106
     */
107
    public void windowClosed(WindowEvent e) {
108
        // TODO Auto-generated method stub
109
    }
110 2145 jorpiell
111 2724 jorpiell
    /* (non-Javadoc)
112
     * @see java.awt.event.WindowListener#windowClosing(java.awt.event.WindowEvent)
113
     */
114
    public void windowClosing(WindowEvent e) {
115
        // TODO Auto-generated method stub
116
    }
117 2145 jorpiell
118 2724 jorpiell
    /* (non-Javadoc)
119
     * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
120
     */
121
    public void windowDeactivated(WindowEvent e) {
122
        // TODO Auto-generated method stub
123
    }
124 2145 jorpiell
125 2724 jorpiell
    /* (non-Javadoc)
126
     * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
127
     */
128
    public void windowDeiconified(WindowEvent e) {
129
        // TODO Auto-generated method stub
130
    }
131 2145 jorpiell
132 2724 jorpiell
    /* (non-Javadoc)
133
     * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
134
     */
135
    public void windowIconified(WindowEvent e) {
136
        // TODO Auto-generated method stub
137
    }
138 2145 jorpiell
139 2724 jorpiell
    /* (non-Javadoc)
140
     * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
141
     */
142
    public void windowOpened(WindowEvent e) {
143
        // TODO Auto-generated method stub
144
    }
145 2047 luisw
}