Revision 3566 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/gazetteer/ui/serverConnect/ServerConnectDialog.java
ServerConnectDialog.java | ||
---|---|---|
1 |
|
|
1 | 2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
2 | 3 |
* |
3 | 4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
... | ... | |
39 | 40 |
* dac@iver.es |
40 | 41 |
*/ |
41 | 42 |
package es.gva.cit.gazetteer.ui.serverConnect; |
42 |
|
|
43 | 43 |
import es.gva.cit.catalogClient.traductor.WithOutAndamiTranslator; |
44 |
import es.gva.cit.catalogClient.utils.Frames; |
|
45 |
|
|
44 |
import es.gva.cit.catalogClient.utils.Frames; |
|
46 | 45 |
import java.awt.event.WindowEvent; |
47 | 46 |
import java.awt.event.WindowListener; |
48 |
|
|
49 | 47 |
import javax.swing.JFrame; |
50 | 48 |
|
51 | 49 |
/** |
52 | 50 |
* This class implements the server connect frame |
53 | 51 |
* |
52 |
* |
|
54 | 53 |
* @author Jorge Piera Llodra (piera_jor@gva.es) |
55 | 54 |
*/ |
56 | 55 |
public class ServerConnectDialog extends JFrame implements WindowListener { |
56 |
/** |
|
57 |
* |
|
58 |
* |
|
59 |
*/ |
|
57 | 60 |
private ServerConnectDialogPanel contentPane = null; |
58 | 61 |
|
59 |
/** |
|
60 |
* Crea un nuevo ServerConnectDialog. |
|
61 |
*/ |
|
62 |
public ServerConnectDialog() { |
|
62 |
/** |
|
63 |
* Crea un nuevo ServerConnectDialog. |
|
64 |
* |
|
65 |
*/ |
|
66 |
public ServerConnectDialog() { |
|
63 | 67 |
super(); |
64 |
|
|
65 | 68 |
//super.setModal(true); |
66 | 69 |
initialize(); |
67 |
} |
|
70 |
}
|
|
68 | 71 |
|
69 |
/** |
|
70 |
* This method initializes jDialog |
|
71 |
*/ |
|
72 |
private void initialize() { |
|
72 |
/** |
|
73 |
* This method initializes jDialog |
|
74 |
* |
|
75 |
*/ |
|
76 |
private void initialize() { |
|
73 | 77 |
Frames.centerFrame(this,630,305); |
74 |
|
|
75 | 78 |
this.setTitle("B?squeda en Gazetteer"); |
76 |
|
|
77 | 79 |
setResizable(false); |
78 | 80 |
setName("serverConnect"); |
79 | 81 |
|
80 | 82 |
getContentPane().add(new ServerConnectDialogPanel(new WithOutAndamiTranslator())); |
81 | 83 |
addWindowListener(this); |
82 | 84 |
setVisible(true); |
83 |
} |
|
84 |
|
|
85 |
/* (non-Javadoc) |
|
85 |
} |
|
86 |
/* (non-Javadoc) |
|
86 | 87 |
* @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent) |
87 | 88 |
*/ |
88 |
public void windowActivated(WindowEvent e) { |
|
89 |
|
|
90 |
/** |
|
91 |
* |
|
92 |
* |
|
93 |
* |
|
94 |
* @param e |
|
95 |
*/ |
|
96 |
public void windowActivated(WindowEvent e) { |
|
89 | 97 |
// TODO Auto-generated method stub |
90 |
} |
|
98 |
}
|
|
91 | 99 |
|
92 |
/** |
|
93 |
* DOCUMENT ME! |
|
94 |
* |
|
95 |
* @param arg0 DOCUMENT ME! |
|
96 |
*/ |
|
97 |
public void windowClosing(WindowEvent arg0) { |
|
100 |
/** |
|
101 |
* DOCUMENT ME! |
|
102 |
* |
|
103 |
* |
|
104 |
* @param arg0 DOCUMENT ME! |
|
105 |
*/ |
|
106 |
public void windowClosing(WindowEvent arg0) { |
|
98 | 107 |
// TODO Auto-generated method stub |
99 | 108 |
System.exit(0); |
100 |
} |
|
101 |
|
|
102 |
/* (non-Javadoc) |
|
109 |
} |
|
110 |
/* (non-Javadoc) |
|
103 | 111 |
* @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent) |
104 | 112 |
*/ |
105 |
public void windowClosed(WindowEvent arg0) { |
|
113 |
|
|
114 |
/** |
|
115 |
* |
|
116 |
* |
|
117 |
* |
|
118 |
* @param arg0 |
|
119 |
*/ |
|
120 |
public void windowClosed(WindowEvent arg0) { |
|
106 | 121 |
// TODO Auto-generated method stub |
107 | 122 |
System.exit(0); |
108 |
} |
|
109 |
|
|
110 |
/* (non-Javadoc) |
|
123 |
} |
|
124 |
/* (non-Javadoc) |
|
111 | 125 |
* @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent) |
112 | 126 |
*/ |
113 |
public void windowDeactivated(WindowEvent e) { |
|
127 |
|
|
128 |
/** |
|
129 |
* |
|
130 |
* |
|
131 |
* |
|
132 |
* @param e |
|
133 |
*/ |
|
134 |
public void windowDeactivated(WindowEvent e) { |
|
114 | 135 |
// TODO Auto-generated method stub |
115 |
} |
|
116 |
|
|
117 |
/* (non-Javadoc) |
|
136 |
} |
|
137 |
/* (non-Javadoc) |
|
118 | 138 |
* @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent) |
119 | 139 |
*/ |
120 |
public void windowDeiconified(WindowEvent e) { |
|
140 |
|
|
141 |
/** |
|
142 |
* |
|
143 |
* |
|
144 |
* |
|
145 |
* @param e |
|
146 |
*/ |
|
147 |
public void windowDeiconified(WindowEvent e) { |
|
121 | 148 |
// TODO Auto-generated method stub |
122 |
} |
|
123 |
|
|
124 |
/* (non-Javadoc) |
|
149 |
} |
|
150 |
/* (non-Javadoc) |
|
125 | 151 |
* @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent) |
126 | 152 |
*/ |
127 |
public void windowIconified(WindowEvent e) { |
|
153 |
|
|
154 |
/** |
|
155 |
* |
|
156 |
* |
|
157 |
* |
|
158 |
* @param e |
|
159 |
*/ |
|
160 |
public void windowIconified(WindowEvent e) { |
|
128 | 161 |
// TODO Auto-generated method stub |
129 |
} |
|
130 |
|
|
131 |
/* (non-Javadoc) |
|
162 |
} |
|
163 |
/* (non-Javadoc) |
|
132 | 164 |
* @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent) |
133 | 165 |
*/ |
134 |
public void windowOpened(WindowEvent e) { |
|
166 |
|
|
167 |
/** |
|
168 |
* |
|
169 |
* |
|
170 |
* |
|
171 |
* @param e |
|
172 |
*/ |
|
173 |
public void windowOpened(WindowEvent e) { |
|
135 | 174 |
// TODO Auto-generated method stub |
136 |
} |
|
137 |
} |
|
175 |
} |
|
176 |
} |
Also available in: Unified diff