Statistics
| Revision:

gvsig-catalog / org.gvsig.catalog / branches / org.gvsig.catalog-CSW2.0.2 / org.gvsig.catalog / org.gvsig.catalog.lib / src / main / java / org / gvsig / catalog / ui / search / SearchDialog.java @ 55

History | View | Annotate | Download (3.76 KB)

1

    
2
/* 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 org.gvsig.catalog.ui.search;
43
import java.awt.event.WindowEvent;
44
import java.awt.event.WindowListener;
45

    
46
import javax.swing.JFrame;
47

    
48
import org.gvsig.catalog.CatalogClient;
49

    
50
/**
51
 * DOCUMENT ME!
52
 * 
53
 * 
54
 * @author luisw
55
 */
56
public class SearchDialog extends JFrame implements WindowListener {
57

    
58
        /**
59
         * Crea un nuevo SearchDialog.
60
         * 
61
         * @param cliente DOCUMENT ME!
62
         * 
63
         * @param client 
64
         * @param isMinimized DOCUMENT ME!
65
         * @param title DOCUMENT ME!
66
         */
67
        public  SearchDialog(CatalogClient client, Object serverConnectFrame) {        
68
                super();
69
                initialize(client, serverConnectFrame);
70
        } 
71

    
72
        /**
73
         * This method initializes jDialog
74
         * @param client 
75
         * @param isMinimized DOCUMENT ME!
76
         * @param title DOCUMENT ME!
77
         */
78
        private void initialize(CatalogClient client, Object serverConnectFrame) {        
79
                setBounds(0, 0, 525, 165);
80
                this.setTitle("B?squeda de Cat?logo");
81
                setName("search");
82
                SearchDialogPanel panel = new SearchDialogPanel(client,serverConnectFrame);
83
                panel.setParent(this);
84
                getContentPane().add(panel);
85
                setVisible(true);
86
        } 
87
        /* (non-Javadoc)
88
         * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
89
         */
90

    
91
        /**
92
         * 
93
         * 
94
         * 
95
         * @param e 
96
         */
97
        public void windowActivated(WindowEvent e) {        
98
                // your code here
99
        } 
100
        /* (non-Javadoc)
101
         * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
102
         */
103

    
104
        /**
105
         * 
106
         * 
107
         * 
108
         * @param e 
109
         */
110
        public void windowClosed(WindowEvent e) {        
111
                System.exit(0);
112
        } 
113
        /* (non-Javadoc)
114
         * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
115
         */
116

    
117
        /**
118
         * 
119
         * 
120
         * 
121
         * @param arg0 
122
         */
123
        public void windowClosing(WindowEvent arg0) {        
124
                System.exit(0);
125
        } 
126
        /* (non-Javadoc)
127
         * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
128
         */
129

    
130
        /**
131
         * 
132
         * 
133
         * 
134
         * @param e 
135
         */
136
        public void windowDeactivated(WindowEvent e) {        
137
                // your code here
138
        } 
139
        /* (non-Javadoc)
140
         * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
141
         */
142

    
143
        /**
144
         * 
145
         * 
146
         * 
147
         * @param e 
148
         */
149
        public void windowDeiconified(WindowEvent e) {        
150
                // your code here
151
        } 
152
        /* (non-Javadoc)
153
         * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
154
         */
155

    
156
        /**
157
         * 
158
         * 
159
         * 
160
         * @param e 
161
         */
162
        public void windowIconified(WindowEvent e) {        
163
                // your code here
164
        } 
165
        /* (non-Javadoc)
166
         * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
167
         */
168

    
169
        /**
170
         * 
171
         * 
172
         * 
173
         * @param e 
174
         */
175
        public void windowOpened(WindowEvent e) {        
176
                // your code here
177
        } 
178
}