Statistics
| Revision:

root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / operations / strategies / FirstStrategy.html @ 11445

History | View | Annotate | Download (15.9 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:45:52 CET 2005 -->
6
<TITLE>
7
FirstStrategy (FMap API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.operations.strategies.FirstStrategy 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="FirstStrategy (FMap 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/fmap/operations/strategies/DiskShapeInfo.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/IndexedStrategy.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies"><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="FirstStrategy.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.fmap.operations.strategies</FONT>
85
<BR>
86
Class FirstStrategy</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies">com.iver.cit.gvsig.fmap.operations.strategies.DefaultStrategy</A>
90
      <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.operations.strategies.FirstStrategy</B>
91
</PRE>
92
<DL>
93
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/Strategy.html" title="interface in com.iver.cit.gvsig.fmap.operations.strategies">Strategy</A></DD>
94
</DL>
95
<HR>
96
<DL>
97
<DT>public class <B>FirstStrategy</B><DT>extends <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies">DefaultStrategy</A></DL>
98

    
99
<P>
100
Estrategia empleada para las capas vectoriales, que dibuja y guarda en un
101
 fichero el bounding box de cada shape junto con su tipo. No se deber? de
102
 dibujar dos veces un adaptador con esta estrateg?a
103
<P>
104

    
105
<P>
106
<HR>
107

    
108
<P>
109
<!-- ======== NESTED CLASS SUMMARY ======== -->
110

    
111

    
112
<!-- =========== FIELD SUMMARY =========== -->
113

    
114

    
115
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
116

    
117
<A NAME="constructor_summary"><!-- --></A>
118
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120
<TD COLSPAN=2><FONT SIZE="+2">
121
<B>Constructor Summary</B></FONT></TD>
122
</TR>
123
<TR BGCOLOR="white" CLASS="TableRowColor">
124
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/FirstStrategy.html#FirstStrategy(com.iver.cit.gvsig.fmap.layers.FLayer)">FirstStrategy</A></B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/layers/FLayer.html" title="interface in com.iver.cit.gvsig.fmap.layers">FLayer</A>&nbsp;capa)</CODE>
125

    
126
<BR>
127
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Crea una nueva FirstStrategy.</TD>
128
</TR>
129
</TABLE>
130
&nbsp;
131
<!-- ========== METHOD SUMMARY =========== -->
132

    
133
<A NAME="method_summary"><!-- --></A>
134
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136
<TD COLSPAN=2><FONT SIZE="+2">
137
<B>Method Summary</B></FONT></TD>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
<CODE>&nbsp;void</CODE></FONT></TD>
142
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/FirstStrategy.html#draw(java.awt.image.BufferedImage, java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.operations.Cancellable)">draw</A></B>(java.awt.image.BufferedImage&nbsp;image,
143
     java.awt.Graphics2D&nbsp;g,
144
     <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/ViewPort.html" title="class in com.iver.cit.gvsig.fmap">ViewPort</A>&nbsp;viewPort,
145
     <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/Cancellable.html" title="interface in com.iver.cit.gvsig.fmap.operations">Cancellable</A>&nbsp;cancel)</CODE>
146

    
147
<BR>
148
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dibuja metiendo en una estructura de datos para cada geometr?a que se
149
 dibuja su boundingbox y su tipo</TD>
150
</TR>
151
</TABLE>
152
&nbsp;<A NAME="methods_inherited_from_class_com.iver.cit.gvsig.fmap.operations.strategies.DefaultStrategy"><!-- --></A>
153
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
154
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
155
<TD><B>Methods inherited from class com.iver.cit.gvsig.fmap.operations.strategies.<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies">DefaultStrategy</A></B></TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#createIndex()">createIndex</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#getCapa()">getCapa</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#getFullExtent()">getFullExtent</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#getSelectionBounds()">getSelectionBounds</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#print(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.operations.Cancellable)">print</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#process(com.iver.cit.gvsig.fmap.operations.strategies.FeatureVisitor)">process</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#process(com.iver.cit.gvsig.fmap.operations.strategies.FeatureVisitor, java.util.BitSet)">process</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#queryByPoint(java.awt.geom.Point2D, double)">queryByPoint</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#queryByRect(java.awt.geom.Rectangle2D)">queryByRect</A>, <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#queryByShape(com.iver.cit.gvsig.fmap.core.IGeometry, int)">queryByShape</A></CODE></TD>
159
</TR>
160
</TABLE>
161
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
162
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
164
<TD><B>Methods inherited from class java.lang.Object</B></TD>
165
</TR>
166
<TR BGCOLOR="white" CLASS="TableRowColor">
167
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
168
</TR>
169
</TABLE>
170
&nbsp;
171
<P>
172

    
173
<!-- ============ FIELD DETAIL =========== -->
174

    
175

    
176
<!-- ========= CONSTRUCTOR DETAIL ======== -->
177

    
178
<A NAME="constructor_detail"><!-- --></A>
179
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
180
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
181
<TD COLSPAN=1><FONT SIZE="+2">
182
<B>Constructor Detail</B></FONT></TD>
183
</TR>
184
</TABLE>
185

    
186
<A NAME="FirstStrategy(com.iver.cit.gvsig.fmap.layers.FLayer)"><!-- --></A><H3>
187
FirstStrategy</H3>
188
<PRE>
189
public <B>FirstStrategy</B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/layers/FLayer.html" title="interface in com.iver.cit.gvsig.fmap.layers">FLayer</A>&nbsp;capa)</PRE>
190
<DL>
191
<DD>Crea una nueva FirstStrategy.
192
<P>
193
<DT><B>Parameters:</B><DD><CODE>capa</CODE> - </DL>
194

    
195
<!-- ============ METHOD DETAIL ========== -->
196

    
197
<A NAME="method_detail"><!-- --></A>
198
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
199
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
200
<TD COLSPAN=1><FONT SIZE="+2">
201
<B>Method Detail</B></FONT></TD>
202
</TR>
203
</TABLE>
204

    
205
<A NAME="draw(java.awt.image.BufferedImage, java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.operations.Cancellable)"><!-- --></A><H3>
206
draw</H3>
207
<PRE>
208
public void <B>draw</B>(java.awt.image.BufferedImage&nbsp;image,
209
                 java.awt.Graphics2D&nbsp;g,
210
                 <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/ViewPort.html" title="class in com.iver.cit.gvsig.fmap">ViewPort</A>&nbsp;viewPort,
211
                 <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/Cancellable.html" title="interface in com.iver.cit.gvsig.fmap.operations">Cancellable</A>&nbsp;cancel)
212
          throws <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/DriverException.html" title="class in com.iver.cit.gvsig.fmap">DriverException</A></PRE>
213
<DL>
214
<DD>Dibuja metiendo en una estructura de datos para cada geometr?a que se
215
 dibuja su boundingbox y su tipo
216
<P>
217
<DD><DL>
218
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/Strategy.html#draw(java.awt.image.BufferedImage, java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.operations.Cancellable)">draw</A></CODE> in interface <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/Strategy.html" title="interface in com.iver.cit.gvsig.fmap.operations.strategies">Strategy</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html#draw(java.awt.image.BufferedImage, java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.operations.Cancellable)">draw</A></CODE> in class <CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies">DefaultStrategy</A></CODE></DL>
219
</DD>
220
<DD><DL>
221
<DT><B>Parameters:</B><DD><CODE>image</CODE> - <DD><CODE>g</CODE> - Graphics2D<DD><CODE>viewPort</CODE> - ViewPort<DD><CODE>cancel</CODE> - 
222
<DT><B>Throws:</B>
223
<DD><CODE><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/DriverException.html" title="class in com.iver.cit.gvsig.fmap">DriverException</A></CODE><DT><B>See Also:</B><DD><CODE>com.iver.cit.gvsig.fmap.operations.LayerOperations#draw(java.awt.image.BufferedImage,
224
                 java.awt.Graphics2D, FStyle2D)</CODE></DL>
225
</DD>
226
</DL>
227
<!-- ========= END OF CLASS DATA ========= -->
228
<HR>
229

    
230

    
231
<!-- ======= START OF BOTTOM NAVBAR ====== -->
232
<A NAME="navbar_bottom"><!-- --></A>
233
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
234
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
235
<TR>
236
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
237
<A NAME="navbar_bottom_firstrow"><!-- --></A>
238
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
239
  <TR ALIGN="center" VALIGN="top">
240
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
241
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
242
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
243
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
244
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
245
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
246
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
247
  </TR>
248
</TABLE>
249
</TD>
250
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
251
</EM>
252
</TD>
253
</TR>
254

    
255
<TR>
256
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
257
&nbsp;<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/DiskShapeInfo.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies"><B>PREV CLASS</B></A>&nbsp;
258
&nbsp;<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/operations/strategies/IndexedStrategy.html" title="class in com.iver.cit.gvsig.fmap.operations.strategies"><B>NEXT CLASS</B></A></FONT></TD>
259
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
260
  <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
261
&nbsp;<A HREF="FirstStrategy.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
262
&nbsp;<SCRIPT type="text/javascript">
263
  <!--
264
  if(window==top) {
265
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
266
  }
267
  //-->
268
</SCRIPT>
269
<NOSCRIPT>
270
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
271
</NOSCRIPT>
272

    
273
</FONT></TD>
274
</TR>
275
<TR>
276
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
277
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
278
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
279
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
280
</TR>
281
</TABLE>
282
<A NAME="skip-navbar_bottom"></A>
283
<!-- ======== END OF BOTTOM NAVBAR ======= -->
284

    
285
<HR>
286

    
287
</BODY>
288
</HTML>