svn-gvsig-desktop / trunk / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / search / SearchDialog.java @ 3566
History | View | Annotate | Download (4.05 KB)
1 | 3566 | jorpiell | |
---|---|---|---|
2 | 3213 | 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.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 | 3566 | jorpiell | *
|
52 | *
|
||
53 | 3213 | jorpiell | * @author luisw
|
54 | */
|
||
55 | public class SearchDialog extends JFrame implements WindowListener { |
||
56 | 3409 | jorpiell | |
57 | 3566 | jorpiell | /**
|
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 | 3213 | jorpiell | super();
|
68 | 3566 | jorpiell | initialize(client, isMinimized, title); |
69 | } |
||
70 | 3213 | jorpiell | |
71 | 3566 | jorpiell | /**
|
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 | 3409 | jorpiell | setBounds(0, 0, 525, 115); |
81 | 3213 | jorpiell | this.setTitle("B?squeda de Cat?logo"); |
82 | setResizable(false);
|
||
83 | setName("search");
|
||
84 | 3409 | jorpiell | SearchDialogPanel panel = new SearchDialogPanel(this, |
85 | 3456 | jorpiell | new WithOutAndamiTranslator(),client);
|
86 | 3213 | jorpiell | panel.setParent(this);
|
87 | getContentPane().add(panel); |
||
88 | setVisible(true);
|
||
89 | 3566 | jorpiell | } |
90 | /* (non-Javadoc)
|
||
91 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
|
92 | */
|
||
93 | |||
94 | 3566 | jorpiell | /**
|
95 | *
|
||
96 | *
|
||
97 | *
|
||
98 | * @param e
|
||
99 | */
|
||
100 | public void windowActivated(WindowEvent e) { |
||
101 | // your code here
|
||
102 | } |
||
103 | /* (non-Javadoc)
|
||
104 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
|
105 | */
|
||
106 | 3566 | jorpiell | |
107 | /**
|
||
108 | *
|
||
109 | *
|
||
110 | *
|
||
111 | * @param e
|
||
112 | */
|
||
113 | public void windowClosed(WindowEvent e) { |
||
114 | 3213 | jorpiell | System.exit(0); |
115 | 3566 | jorpiell | } |
116 | /* (non-Javadoc)
|
||
117 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
|
118 | */
|
||
119 | 3566 | jorpiell | |
120 | /**
|
||
121 | *
|
||
122 | *
|
||
123 | *
|
||
124 | * @param arg0
|
||
125 | */
|
||
126 | public void windowClosing(WindowEvent arg0) { |
||
127 | 3213 | jorpiell | System.exit(0); |
128 | 3566 | jorpiell | } |
129 | /* (non-Javadoc)
|
||
130 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
|
131 | */
|
||
132 | |||
133 | 3566 | jorpiell | /**
|
134 | *
|
||
135 | *
|
||
136 | *
|
||
137 | * @param e
|
||
138 | */
|
||
139 | public void windowDeactivated(WindowEvent e) { |
||
140 | // your code here
|
||
141 | } |
||
142 | /* (non-Javadoc)
|
||
143 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
|
144 | */
|
||
145 | |||
146 | 3566 | jorpiell | /**
|
147 | *
|
||
148 | *
|
||
149 | *
|
||
150 | * @param e
|
||
151 | */
|
||
152 | public void windowDeiconified(WindowEvent e) { |
||
153 | // your code here
|
||
154 | } |
||
155 | /* (non-Javadoc)
|
||
156 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
|
157 | */
|
||
158 | |||
159 | 3566 | jorpiell | /**
|
160 | *
|
||
161 | *
|
||
162 | *
|
||
163 | * @param e
|
||
164 | */
|
||
165 | public void windowIconified(WindowEvent e) { |
||
166 | // your code here
|
||
167 | } |
||
168 | /* (non-Javadoc)
|
||
169 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
|
170 | */
|
||
171 | 3566 | jorpiell | |
172 | /**
|
||
173 | *
|
||
174 | *
|
||
175 | *
|
||
176 | * @param e
|
||
177 | */
|
||
178 | public void windowOpened(WindowEvent e) { |
||
179 | // your code here
|
||
180 | } |
||
181 | } |