Statistics
| Revision:

root / trunk / docs / gvSIG / gvSIG-api / com / iver / cit / gvsig / DEMO / PruebasGT2.html @ 11445

History | View | Annotate | Download (13.1 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_04) on Mon Feb 14 08:49:12 CET 2005 -->
6
<TITLE>
7
PruebasGT2 (gvSIG API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.DEMO.PruebasGT2 class">
11

    
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13

    
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="PruebasGT2 (gvSIG API)";
18
}
19
</SCRIPT>
20

    
21
</HEAD>
22

    
23
<BODY BGCOLOR="white" onload="windowTitle();">
24

    
25

    
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30
<TR>
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
  <TR ALIGN="center" VALIGN="top">
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42
  </TR>
43
</TABLE>
44
</TD>
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46
</EM>
47
</TD>
48
</TR>
49

    
50
<TR>
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52
&nbsp;<A HREF="../../../../../com/iver/cit/gvsig/DEMO/FileUtils.html" title="class in com.iver.cit.gvsig.DEMO"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../../com/iver/cit/gvsig/DEMO/SimpleFileFilter.html" title="class in com.iver.cit.gvsig.DEMO"><B>NEXT CLASS</B></A></FONT></TD>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
56
&nbsp;<A HREF="PruebasGT2.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<SCRIPT type="text/javascript">
58
  <!--
59
  if(window==top) {
60
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61
  }
62
  //-->
63
</SCRIPT>
64
<NOSCRIPT>
65
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66
</NOSCRIPT>
67

    
68
</FONT></TD>
69
</TR>
70
<TR>
71
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75
</TR>
76
</TABLE>
77
<A NAME="skip-navbar_top"></A>
78
<!-- ========= END OF TOP NAVBAR ========= -->
79

    
80
<HR>
81
<!-- ======== START OF CLASS DATA ======== -->
82
<H2>
83
<FONT SIZE="-1">
84
com.iver.cit.gvsig.DEMO</FONT>
85
<BR>
86
Class PruebasGT2</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.DEMO.PruebasGT2</B>
90
</PRE>
91
<DL>
92
<DT><B>All Implemented Interfaces:</B> <DD>java.awt.event.ActionListener, java.util.EventListener</DD>
93
</DL>
94
<HR>
95
<DL>
96
<DT>public class <B>PruebasGT2</B><DT>extends java.lang.Object<DT>implements java.awt.event.ActionListener</DL>
97

    
98
<P>
99
Pruebas de capas GT2 (ArcSDE, etc), hechas por Fran, sacadas del
100
 CommandListener
101
<P>
102

    
103
<P>
104
<DL>
105
<DT><B>Author:</B></DT>
106
  <DD>Luis W. Sevilla (sevilla_lui@gva.es)</DD>
107
</DL>
108
<HR>
109

    
110
<P>
111
<!-- ======== NESTED CLASS SUMMARY ======== -->
112

    
113

    
114
<!-- =========== FIELD SUMMARY =========== -->
115

    
116

    
117
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
118

    
119
<A NAME="constructor_summary"><!-- --></A>
120
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122
<TD COLSPAN=2><FONT SIZE="+2">
123
<B>Constructor Summary</B></FONT></TD>
124
</TR>
125
<TR BGCOLOR="white" CLASS="TableRowColor">
126
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/DEMO/PruebasGT2.html#PruebasGT2()">PruebasGT2</A></B>()</CODE>
127

    
128
<BR>
129
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
130
</TR>
131
</TABLE>
132
&nbsp;
133
<!-- ========== METHOD SUMMARY =========== -->
134

    
135
<A NAME="method_summary"><!-- --></A>
136
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138
<TD COLSPAN=2><FONT SIZE="+2">
139
<B>Method Summary</B></FONT></TD>
140
</TR>
141
<TR BGCOLOR="white" CLASS="TableRowColor">
142
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143
<CODE>&nbsp;void</CODE></FONT></TD>
144
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/DEMO/PruebasGT2.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</A></B>(java.awt.event.ActionEvent&nbsp;e)</CODE>
145

    
146
<BR>
147
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
148
</TR>
149
<TR BGCOLOR="white" CLASS="TableRowColor">
150
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151
<CODE>protected &nbsp;void</CODE></FONT></TD>
152
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/DEMO/PruebasGT2.html#addLayerGT2_ArcSDE()">addLayerGT2_ArcSDE</A></B>()</CODE>
153

    
154
<BR>
155
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>protected &nbsp;void</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/DEMO/PruebasGT2.html#addLayerGT2_PostGIS()">addLayerGT2_PostGIS</A></B>()</CODE>
161

    
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167
<CODE>protected &nbsp;void</CODE></FONT></TD>
168
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/DEMO/PruebasGT2.html#addLayerGT2_Shp()">addLayerGT2_Shp</A></B>()</CODE>
169

    
170
<BR>
171
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>protected &nbsp;void</CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/DEMO/PruebasGT2.html#loadLayer(DataStore, java.lang.String)">loadLayer</A></B>(DataStore&nbsp;store,
177
          java.lang.String&nbsp;layerName)</CODE>
178

    
179
<BR>
180
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Load the data from the specified dataStore and construct a  with
181
 a default style.</TD>
182
</TR>
183
<TR BGCOLOR="white" CLASS="TableRowColor">
184
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185
<CODE>&nbsp;void</CODE></FONT></TD>
186
<TD><CODE><B><A HREF="../../../../../com/iver/cit/gvsig/DEMO/PruebasGT2.html#setMapContext(FMap)">setMapContext</A></B>(FMap&nbsp;map)</CODE>
187

    
188
<BR>
189
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
190
</TR>
191
</TABLE>
192
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
193
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
195
<TD><B>Methods inherited from class java.lang.Object</B></TD>
196
</TR>
197
<TR BGCOLOR="white" CLASS="TableRowColor">
198
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
199
</TR>
200
</TABLE>
201
&nbsp;
202
<P>
203

    
204
<!-- ============ FIELD DETAIL =========== -->
205

    
206

    
207
<!-- ========= CONSTRUCTOR DETAIL ======== -->
208

    
209
<A NAME="constructor_detail"><!-- --></A>
210
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
211
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
212
<TD COLSPAN=1><FONT SIZE="+2">
213
<B>Constructor Detail</B></FONT></TD>
214
</TR>
215
</TABLE>
216

    
217
<A NAME="PruebasGT2()"><!-- --></A><H3>
218
PruebasGT2</H3>
219
<PRE>
220
public <B>PruebasGT2</B>()</PRE>
221
<DL>
222
</DL>
223

    
224
<!-- ============ METHOD DETAIL ========== -->
225

    
226
<A NAME="method_detail"><!-- --></A>
227
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
228
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
229
<TD COLSPAN=1><FONT SIZE="+2">
230
<B>Method Detail</B></FONT></TD>
231
</TR>
232
</TABLE>
233

    
234
<A NAME="addLayerGT2_Shp()"><!-- --></A><H3>
235
addLayerGT2_Shp</H3>
236
<PRE>
237
protected void <B>addLayerGT2_Shp</B>()</PRE>
238
<DL>
239
<DD><DL>
240
</DL>
241
</DD>
242
<DD><DL>
243
</DL>
244
</DD>
245
</DL>
246
<HR>
247

    
248
<A NAME="addLayerGT2_PostGIS()"><!-- --></A><H3>
249
addLayerGT2_PostGIS</H3>
250
<PRE>
251
protected void <B>addLayerGT2_PostGIS</B>()</PRE>
252
<DL>
253
<DD><DL>
254
</DL>
255
</DD>
256
<DD><DL>
257
</DL>
258
</DD>
259
</DL>
260
<HR>
261

    
262
<A NAME="loadLayer(DataStore, java.lang.String)"><!-- --></A><H3>
263
loadLayer</H3>
264
<PRE>
265
protected void <B>loadLayer</B>(DataStore&nbsp;store,
266
                         java.lang.String&nbsp;layerName)
267
                  throws java.io.IOException,
268
                         DataSourceException</PRE>
269
<DL>
270
<DD>Load the data from the specified dataStore and construct a  with
271
 a default style.
272
<P>
273
<DD><DL>
274
</DL>
275
</DD>
276
<DD><DL>
277

    
278
<DT><B>Throws:</B>
279
<DD><CODE>java.io.IOException</CODE> - is a I/O error occured.
280
<DD><CODE>DataSourceException</CODE> - if an error occured while reading the data source.
281
<DD><CODE>java.io.FileNotFoundException</CODE> - DOCUMENT ME!</DL>
282
</DD>
283
</DL>
284
<HR>
285

    
286
<A NAME="addLayerGT2_ArcSDE()"><!-- --></A><H3>
287
addLayerGT2_ArcSDE</H3>
288
<PRE>
289
protected void <B>addLayerGT2_ArcSDE</B>()</PRE>
290
<DL>
291
<DD><DL>
292
</DL>
293
</DD>
294
<DD><DL>
295
</DL>
296
</DD>
297
</DL>
298
<HR>
299

    
300
<A NAME="setMapContext(FMap)"><!-- --></A><H3>
301
setMapContext</H3>
302
<PRE>
303
public void <B>setMapContext</B>(FMap&nbsp;map)</PRE>
304
<DL>
305
<DD><DL>
306
</DL>
307
</DD>
308
<DD><DL>
309
</DL>
310
</DD>
311
</DL>
312
<HR>
313

    
314
<A NAME="actionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>
315
actionPerformed</H3>
316
<PRE>
317
public void <B>actionPerformed</B>(java.awt.event.ActionEvent&nbsp;e)</PRE>
318
<DL>
319
<DD><DL>
320
<DT><B>Specified by:</B><DD><CODE>actionPerformed</CODE> in interface <CODE>java.awt.event.ActionListener</CODE></DL>
321
</DD>
322
<DD><DL>
323
</DL>
324
</DD>
325
</DL>
326
<!-- ========= END OF CLASS DATA ========= -->
327
<HR>
328

    
329

    
330
<!-- ======= START OF BOTTOM NAVBAR ====== -->
331
<A NAME="navbar_bottom"><!-- --></A>
332
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
333
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
334
<TR>
335
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
336
<A NAME="navbar_bottom_firstrow"><!-- --></A>
337
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
338
  <TR ALIGN="center" VALIGN="top">
339
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
340
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
341
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
342
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
343
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
344
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
345
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
346
  </TR>
347
</TABLE>
348
</TD>
349
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
350
</EM>
351
</TD>
352
</TR>
353

    
354
<TR>
355
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
356
&nbsp;<A HREF="../../../../../com/iver/cit/gvsig/DEMO/FileUtils.html" title="class in com.iver.cit.gvsig.DEMO"><B>PREV CLASS</B></A>&nbsp;
357
&nbsp;<A HREF="../../../../../com/iver/cit/gvsig/DEMO/SimpleFileFilter.html" title="class in com.iver.cit.gvsig.DEMO"><B>NEXT CLASS</B></A></FONT></TD>
358
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
359
  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
360
&nbsp;<A HREF="PruebasGT2.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
361
&nbsp;<SCRIPT type="text/javascript">
362
  <!--
363
  if(window==top) {
364
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
365
  }
366
  //-->
367
</SCRIPT>
368
<NOSCRIPT>
369
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
370
</NOSCRIPT>
371

    
372
</FONT></TD>
373
</TR>
374
<TR>
375
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
376
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
377
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
378
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
379
</TR>
380
</TABLE>
381
<A NAME="skip-navbar_bottom"></A>
382
<!-- ======== END OF BOTTOM NAVBAR ======= -->
383

    
384
<HR>
385

    
386
</BODY>
387
</HTML>