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