Statistics
| Revision:

svn-gvsig-desktop / branches / v10 / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / search / SearchDialog.java @ 8604

History | View | Annotate | Download (4.03 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 es.gva.cit.catalogClient.ui.search;
43
import es.gva.cit.catalogClient.CatalogClient;
44
import java.awt.event.WindowEvent;
45
import java.awt.event.WindowListener;
46
import javax.swing.JFrame;
47

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

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

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

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

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

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

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

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

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

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