Statistics
| Revision:

svn-gvsig-desktop / trunk / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / search / SearchDialog.java @ 3566

History | View | Annotate | Download (4.05 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 es.gva.cit.catalogClient.traductor.WithOutAndamiTranslator;
45
import java.awt.event.WindowEvent;
46
import java.awt.event.WindowListener;
47
import javax.swing.JFrame;
48

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

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

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

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

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

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

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

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

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

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