Statistics
| Revision:

root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / tools / Events / RectangleEvent.html @ 11445

History | View | Annotate | Download (11.6 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:53 CET 2005 -->
6
<TITLE>
7
RectangleEvent (FMap API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.tools.Events.RectangleEvent 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="RectangleEvent (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/tools/Events/PointEvent.html" title="class in com.iver.cit.gvsig.fmap.tools.Events"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;NEXT CLASS</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="RectangleEvent.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.tools.Events</FONT>
85
<BR>
86
Class RectangleEvent</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.tools.Events.RectangleEvent</B>
90
</PRE>
91
<HR>
92
<DL>
93
<DT>public class <B>RectangleEvent</B><DT>extends java.lang.Object</DL>
94

    
95
<P>
96
Eventos de rect?ngulo sobre la vista.
97
<P>
98

    
99
<P>
100
<DL>
101
<DT><B>Author:</B></DT>
102
  <DD>Vicente Caballero Navarro</DD>
103
</DL>
104
<HR>
105

    
106
<P>
107
<!-- ======== NESTED CLASS SUMMARY ======== -->
108

    
109

    
110
<!-- =========== FIELD SUMMARY =========== -->
111

    
112

    
113
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
114

    
115
<A NAME="constructor_summary"><!-- --></A>
116
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118
<TD COLSPAN=2><FONT SIZE="+2">
119
<B>Constructor Summary</B></FONT></TD>
120
</TR>
121
<TR BGCOLOR="white" CLASS="TableRowColor">
122
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/tools/Events/RectangleEvent.html#RectangleEvent(java.awt.geom.Rectangle2D, java.awt.event.MouseEvent, java.awt.geom.Rectangle2D)">RectangleEvent</A></B>(java.awt.geom.Rectangle2D&nbsp;worldRect,
123
               java.awt.event.MouseEvent&nbsp;e,
124
               java.awt.geom.Rectangle2D&nbsp;pixelRect)</CODE>
125

    
126
<BR>
127
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Crea un nuevo RectangleEvent.</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;java.awt.event.MouseEvent</CODE></FONT></TD>
142
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/tools/Events/RectangleEvent.html#getEvent()">getEvent</A></B>()</CODE>
143

    
144
<BR>
145
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
146
</TR>
147
<TR BGCOLOR="white" CLASS="TableRowColor">
148
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149
<CODE>&nbsp;java.awt.geom.Rectangle2D</CODE></FONT></TD>
150
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/tools/Events/RectangleEvent.html#getPixelCoordRect()">getPixelCoordRect</A></B>()</CODE>
151

    
152
<BR>
153
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devolvemos el rect?ngulo en pixels para que se puedan
154
 comprobar cosas como que es menor de 3 pixels de ancho o alto
155
 y hacer un zoom fijo en lugar de a ese rect?ngulo tan peque?o.</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>&nbsp;java.awt.geom.Rectangle2D</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/tools/Events/RectangleEvent.html#getWorldCoordRect()">getWorldCoordRect</A></B>()</CODE>
161

    
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el rect?ngulo en coordenadas de mundo real.</TD>
164
</TR>
165
</TABLE>
166
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
167
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
169
<TD><B>Methods inherited from class java.lang.Object</B></TD>
170
</TR>
171
<TR BGCOLOR="white" CLASS="TableRowColor">
172
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
173
</TR>
174
</TABLE>
175
&nbsp;
176
<P>
177

    
178
<!-- ============ FIELD DETAIL =========== -->
179

    
180

    
181
<!-- ========= CONSTRUCTOR DETAIL ======== -->
182

    
183
<A NAME="constructor_detail"><!-- --></A>
184
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
186
<TD COLSPAN=1><FONT SIZE="+2">
187
<B>Constructor Detail</B></FONT></TD>
188
</TR>
189
</TABLE>
190

    
191
<A NAME="RectangleEvent(java.awt.geom.Rectangle2D, java.awt.event.MouseEvent, java.awt.geom.Rectangle2D)"><!-- --></A><H3>
192
RectangleEvent</H3>
193
<PRE>
194
public <B>RectangleEvent</B>(java.awt.geom.Rectangle2D&nbsp;worldRect,
195
                      java.awt.event.MouseEvent&nbsp;e,
196
                      java.awt.geom.Rectangle2D&nbsp;pixelRect)</PRE>
197
<DL>
198
<DD>Crea un nuevo RectangleEvent.
199
<P>
200
<DT><B>Parameters:</B><DD><CODE>worldRect</CODE> - Rect?ngulo.<DD><CODE>pixelRect</CODE> - TODO</DL>
201

    
202
<!-- ============ METHOD DETAIL ========== -->
203

    
204
<A NAME="method_detail"><!-- --></A>
205
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
206
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
207
<TD COLSPAN=1><FONT SIZE="+2">
208
<B>Method Detail</B></FONT></TD>
209
</TR>
210
</TABLE>
211

    
212
<A NAME="getWorldCoordRect()"><!-- --></A><H3>
213
getWorldCoordRect</H3>
214
<PRE>
215
public java.awt.geom.Rectangle2D <B>getWorldCoordRect</B>()</PRE>
216
<DL>
217
<DD>Devuelve el rect?ngulo en coordenadas de mundo real.
218
<P>
219
<DD><DL>
220

    
221
<DT><B>Returns:</B><DD>Rect?ngulo.</DL>
222
</DD>
223
</DL>
224
<HR>
225

    
226
<A NAME="getPixelCoordRect()"><!-- --></A><H3>
227
getPixelCoordRect</H3>
228
<PRE>
229
public java.awt.geom.Rectangle2D <B>getPixelCoordRect</B>()</PRE>
230
<DL>
231
<DD>Devolvemos el rect?ngulo en pixels para que se puedan
232
 comprobar cosas como que es menor de 3 pixels de ancho o alto
233
 y hacer un zoom fijo en lugar de a ese rect?ngulo tan peque?o.
234
<P>
235
<DD><DL>
236

    
237
<DT><B>Returns:</B><DD></DL>
238
</DD>
239
</DL>
240
<HR>
241

    
242
<A NAME="getEvent()"><!-- --></A><H3>
243
getEvent</H3>
244
<PRE>
245
public java.awt.event.MouseEvent <B>getEvent</B>()</PRE>
246
<DL>
247
<DD><DL>
248
</DL>
249
</DD>
250
</DL>
251
<!-- ========= END OF CLASS DATA ========= -->
252
<HR>
253

    
254

    
255
<!-- ======= START OF BOTTOM NAVBAR ====== -->
256
<A NAME="navbar_bottom"><!-- --></A>
257
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
258
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
259
<TR>
260
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
261
<A NAME="navbar_bottom_firstrow"><!-- --></A>
262
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
263
  <TR ALIGN="center" VALIGN="top">
264
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
265
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
266
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
267
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
268
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
269
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
270
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
271
  </TR>
272
</TABLE>
273
</TD>
274
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
275
</EM>
276
</TD>
277
</TR>
278

    
279
<TR>
280
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
281
&nbsp;<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/tools/Events/PointEvent.html" title="class in com.iver.cit.gvsig.fmap.tools.Events"><B>PREV CLASS</B></A>&nbsp;
282
&nbsp;NEXT CLASS</FONT></TD>
283
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
284
  <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
285
&nbsp;<A HREF="RectangleEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
286
&nbsp;<SCRIPT type="text/javascript">
287
  <!--
288
  if(window==top) {
289
    document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
290
  }
291
  //-->
292
</SCRIPT>
293
<NOSCRIPT>
294
  <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
295
</NOSCRIPT>
296

    
297
</FONT></TD>
298
</TR>
299
<TR>
300
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
301
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
302
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
303
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
304
</TR>
305
</TABLE>
306
<A NAME="skip-navbar_bottom"></A>
307
<!-- ======== END OF BOTTOM NAVBAR ======= -->
308

    
309
<HR>
310

    
311
</BODY>
312
</HTML>