svn-gvsig-desktop / tags / v1_0_2_Build_915 / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / showResults / ShowResultsDialog.java @ 12217
History | View | Annotate | Download (4.33 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.showResults; |
||
43 | 3613 | jorpiell | import es.gva.cit.catalogClient.CatalogClient; |
44 | import es.gva.cit.catalogClient.utils.Frames; |
||
45 | 3213 | jorpiell | import java.awt.Dimension; |
46 | import java.awt.event.WindowEvent; |
||
47 | import java.awt.event.WindowListener; |
||
48 | 3566 | jorpiell | import java.util.Collection; |
49 | 3213 | jorpiell | import javax.swing.JDialog; |
50 | |||
51 | /**
|
||
52 | * DOCUMENT ME!
|
||
53 | 3566 | jorpiell | *
|
54 | *
|
||
55 | 3213 | jorpiell | * @author luisw
|
56 | */
|
||
57 | public class ShowResultsDialog extends JDialog implements WindowListener { |
||
58 | 3566 | jorpiell | |
59 | /**
|
||
60 | *
|
||
61 | *
|
||
62 | */
|
||
63 | 3213 | jorpiell | int currentRecord;
|
64 | 3566 | jorpiell | /**
|
65 | *
|
||
66 | *
|
||
67 | */
|
||
68 | public es.gva.cit.catalogClient.ui.showResults.ShowResultsDialogPanel showResultsDialogPanel;
|
||
69 | 3213 | jorpiell | |
70 | 3566 | jorpiell | /**
|
71 | * Crea un nuevo ShowResultsDialog.
|
||
72 | *
|
||
73 | *
|
||
74 | * @param client DOCUMENT ME!
|
||
75 | * @param nodes DOCUMENT ME!
|
||
76 | * @param currentRecord DOCUMENT ME!
|
||
77 | */
|
||
78 | public ShowResultsDialog(CatalogClient client, Collection nodes, int currentRecord) { |
||
79 | 3213 | jorpiell | super();
|
80 | this.currentRecord = currentRecord;
|
||
81 | 3566 | jorpiell | initialize(client,nodes); |
82 | } |
||
83 | 3213 | jorpiell | |
84 | 3566 | jorpiell | /**
|
85 | * This method initializes jDialog
|
||
86 | *
|
||
87 | *
|
||
88 | * @param client
|
||
89 | * @param nodes
|
||
90 | */
|
||
91 | private void initialize(CatalogClient client, Collection nodes) { |
||
92 | 3409 | jorpiell | Frames.centerFrame(this, 625, 425); |
93 | 3213 | jorpiell | this.setSize(new Dimension(625, 425)); |
94 | this.setTitle("Cliente de Cat?logo"); |
||
95 | 3409 | jorpiell | ShowResultsDialogPanel panel = new ShowResultsDialogPanel(client,
|
96 | 4713 | cesar | nodes, currentRecord); |
97 | 3213 | jorpiell | panel.setParent(this);
|
98 | getContentPane().add(panel); |
||
99 | this.setVisible(true); |
||
100 | 3566 | jorpiell | } |
101 | /* (non-Javadoc)
|
||
102 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
|
103 | */
|
||
104 | 3566 | jorpiell | |
105 | /**
|
||
106 | *
|
||
107 | *
|
||
108 | *
|
||
109 | * @param e
|
||
110 | */
|
||
111 | public void windowActivated(WindowEvent e) { |
||
112 | 3213 | jorpiell | // TODO Auto-generated method stub
|
113 | 3566 | jorpiell | } |
114 | /* (non-Javadoc)
|
||
115 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
|
116 | */
|
||
117 | 3566 | jorpiell | |
118 | /**
|
||
119 | *
|
||
120 | *
|
||
121 | *
|
||
122 | * @param e
|
||
123 | */
|
||
124 | public void windowClosed(WindowEvent e) { |
||
125 | 3213 | jorpiell | // TODO Auto-generated method stub
|
126 | 3566 | jorpiell | } |
127 | /* (non-Javadoc)
|
||
128 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowClosing(java.awt.event.WindowEvent)
|
129 | */
|
||
130 | 3566 | jorpiell | |
131 | /**
|
||
132 | *
|
||
133 | *
|
||
134 | *
|
||
135 | * @param e
|
||
136 | */
|
||
137 | public void windowClosing(WindowEvent e) { |
||
138 | 3213 | jorpiell | // TODO Auto-generated method stub
|
139 | 3566 | jorpiell | } |
140 | /* (non-Javadoc)
|
||
141 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
|
142 | */
|
||
143 | 3566 | jorpiell | |
144 | /**
|
||
145 | *
|
||
146 | *
|
||
147 | *
|
||
148 | * @param e
|
||
149 | */
|
||
150 | public void windowDeactivated(WindowEvent e) { |
||
151 | 3213 | jorpiell | // TODO Auto-generated method stub
|
152 | 3566 | jorpiell | } |
153 | /* (non-Javadoc)
|
||
154 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
|
155 | */
|
||
156 | 3566 | jorpiell | |
157 | /**
|
||
158 | *
|
||
159 | *
|
||
160 | *
|
||
161 | * @param e
|
||
162 | */
|
||
163 | public void windowDeiconified(WindowEvent e) { |
||
164 | 3213 | jorpiell | // TODO Auto-generated method stub
|
165 | 3566 | jorpiell | } |
166 | /* (non-Javadoc)
|
||
167 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
|
168 | */
|
||
169 | 3566 | jorpiell | |
170 | /**
|
||
171 | *
|
||
172 | *
|
||
173 | *
|
||
174 | * @param e
|
||
175 | */
|
||
176 | public void windowIconified(WindowEvent e) { |
||
177 | 3213 | jorpiell | // TODO Auto-generated method stub
|
178 | 3566 | jorpiell | } |
179 | /* (non-Javadoc)
|
||
180 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
|
181 | */
|
||
182 | 3566 | jorpiell | |
183 | /**
|
||
184 | *
|
||
185 | *
|
||
186 | *
|
||
187 | * @param e
|
||
188 | */
|
||
189 | public void windowOpened(WindowEvent e) { |
||
190 | 3213 | jorpiell | // TODO Auto-generated method stub
|
191 | 3566 | jorpiell | } |
192 | } |