Statistics
| Revision:

svn-gvsig-desktop / tags / gvSIGv0_6_1RELEASE / applications / appCatalogYNomenclatorClient / src / es / gva / cit / gazetteer / ui / serverConnect / ServerConnectDialog.java @ 5222

History | View | Annotate | Download (3.93 KB)

1 3566 jorpiell
2 3214 jorpiell
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
3
 *
4
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
19
 *
20
 * For more information, contact:
21
 *
22
 *  Generalitat Valenciana
23
 *   Conselleria d'Infraestructures i Transport
24
 *   Av. Blasco Ib??ez, 50
25
 *   46010 VALENCIA
26
 *   SPAIN
27
 *
28
 *      +34 963862235
29
 *   gvsig@gva.es
30
 *      www.gvsig.gva.es
31
 *
32
 *    or
33
 *
34
 *   IVER T.I. S.A
35
 *   Salamanca 50
36
 *   46005 Valencia
37
 *   Spain
38
 *
39
 *   +34 963163400
40
 *   dac@iver.es
41
 */
42
package es.gva.cit.gazetteer.ui.serverConnect;
43 3613 jorpiell
import es.gva.cit.catalogClient.traductor.WithOutAndamiTranslator;
44
import es.gva.cit.catalogClient.utils.Frames;
45 3214 jorpiell
import java.awt.event.WindowEvent;
46
import java.awt.event.WindowListener;
47
import javax.swing.JFrame;
48
49
/**
50
 * This class implements the server connect frame
51
 *
52 3566 jorpiell
 *
53 3214 jorpiell
 * @author Jorge Piera Llodra (piera_jor@gva.es)
54
 */
55
public class ServerConnectDialog extends JFrame implements WindowListener {
56 3613 jorpiell
57 3566 jorpiell
/**
58
 * Crea un nuevo ServerConnectDialog.
59
 *
60
 */
61
    public  ServerConnectDialog() {
62 3214 jorpiell
        super();
63
        //super.setModal(true);
64
        initialize();
65 3566 jorpiell
    }
66 3214 jorpiell
67 3566 jorpiell
/**
68
 * This method initializes jDialog
69
 *
70
 */
71
    private void initialize() {
72 3311 jorpiell
        Frames.centerFrame(this,630,305);
73 3214 jorpiell
        this.setTitle("B?squeda en Gazetteer");
74
        setResizable(false);
75
        setName("serverConnect");
76
77 3613 jorpiell
        getContentPane().add(new ServerConnectDialogPanel(
78
                this,
79
                new WithOutAndamiTranslator()));
80 3214 jorpiell
        addWindowListener(this);
81
        setVisible(true);
82 3566 jorpiell
    }
83
/* (non-Javadoc)
84 3214 jorpiell
     * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
85
     */
86 3566 jorpiell
87
/**
88
 *
89
 *
90
 *
91
 * @param e
92
 */
93
    public void windowActivated(WindowEvent e) {
94 3214 jorpiell
        // TODO Auto-generated method stub
95 3566 jorpiell
    }
96 3214 jorpiell
97 3566 jorpiell
/**
98
 * DOCUMENT ME!
99
 *
100
 *
101
 * @param arg0 DOCUMENT ME!
102
 */
103
    public void windowClosing(WindowEvent arg0) {
104 3214 jorpiell
        // TODO Auto-generated method stub
105
        System.exit(0);
106 3566 jorpiell
    }
107
/* (non-Javadoc)
108 3214 jorpiell
     * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
109
     */
110 3566 jorpiell
111
/**
112
 *
113
 *
114
 *
115
 * @param arg0
116
 */
117
    public void windowClosed(WindowEvent arg0) {
118 3214 jorpiell
        // TODO Auto-generated method stub
119
        System.exit(0);
120 3566 jorpiell
    }
121
/* (non-Javadoc)
122 3214 jorpiell
     * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
123
     */
124 3566 jorpiell
125
/**
126
 *
127
 *
128
 *
129
 * @param e
130
 */
131
    public void windowDeactivated(WindowEvent e) {
132 3214 jorpiell
        // TODO Auto-generated method stub
133 3566 jorpiell
    }
134
/* (non-Javadoc)
135 3214 jorpiell
     * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
136
     */
137 3566 jorpiell
138
/**
139
 *
140
 *
141
 *
142
 * @param e
143
 */
144
    public void windowDeiconified(WindowEvent e) {
145 3214 jorpiell
        // TODO Auto-generated method stub
146 3566 jorpiell
    }
147
/* (non-Javadoc)
148 3214 jorpiell
     * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
149
     */
150 3566 jorpiell
151
/**
152
 *
153
 *
154
 *
155
 * @param e
156
 */
157
    public void windowIconified(WindowEvent e) {
158 3214 jorpiell
        // TODO Auto-generated method stub
159 3566 jorpiell
    }
160
/* (non-Javadoc)
161 3214 jorpiell
     * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
162
     */
163 3566 jorpiell
164
/**
165
 *
166
 *
167
 *
168
 * @param e
169
 */
170
    public void windowOpened(WindowEvent e) {
171 3214 jorpiell
        // TODO Auto-generated method stub
172 3566 jorpiell
    }
173
 }