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