Statistics
| Revision:

svn-gvsig-desktop / branches / CqCMSDvp / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / ui / cmd / CmdPan.html @ 2312

History | View | Annotate | Download (12.5 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_03) on Thu Jun 23 14:38:26 CEST 2005 -->
6
<TITLE>
7
CmdPan
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="org.cresques.ui.cmd.CmdPan 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="CmdPan";
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="../../../../org/cresques/ui/cmd/CmdMeasure.html" title="class in org.cresques.ui.cmd"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../org/cresques/ui/cmd/CmdPLine.html" title="class in org.cresques.ui.cmd"><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="CmdPan.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;<A HREF="#fields_inherited_from_class_org.cresques.ui.cmd.Cmd">FIELD</A>&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
org.cresques.ui.cmd</FONT>
85
<BR>
86
Class CmdPan</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">org.cresques.ui.cmd.Cmd</A>
90
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.ui.cmd.CmdPan</B>
91
</PRE>
92
<HR>
93
<DL>
94
<DT>public class <B>CmdPan</B><DT>extends <A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A></DL>
95

    
96
<P>
97
Comando pan.
98
 A?ade al canvas la capacidad de desplazar la vista.
99
<P>
100

    
101
<P>
102
<DL>
103
<DT><B>Author:</B></DT>
104
  <DD>"Luis W. Sevilla" <sevilla_lui@gva.es></DD>
105
</DL>
106
<HR>
107

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

    
111

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

    
114
<A NAME="field_summary"><!-- --></A>
115
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117
<TD COLSPAN=2><FONT SIZE="+2">
118
<B>Field Summary</B></FONT></TD>
119
</TR>
120
</TABLE>
121
&nbsp;<A NAME="fields_inherited_from_class_org.cresques.ui.cmd.Cmd"><!-- --></A>
122
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
124
<TD><B>Fields inherited from class org.cresques.ui.cmd.<A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A></B></TD>
125
</TR>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD><CODE><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#cursor">cursor</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#DRAG">DRAG</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#LEFT">LEFT</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#MIDDLE">MIDDLE</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#PRESS">PRESS</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#RELEASE">RELEASE</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#RIGHT">RIGHT</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#type">type</A></CODE></TD>
128
</TR>
129
</TABLE>
130
&nbsp;
131
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
132

    
133
<A NAME="constructor_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>Constructor Summary</B></FONT></TD>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/CmdPan.html#CmdPan(org.cresques.ui.CQMapCanvas)">CmdPan</A></B>(<A HREF="../../../../org/cresques/ui/CQMapCanvas.html" title="interface in org.cresques.ui">CQMapCanvas</A>&nbsp;canvas)</CODE>
141

    
142
<BR>
143
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construye un nuevo CmdPan para el Canvas.</TD>
144
</TR>
145
</TABLE>
146
&nbsp;
147
<!-- ========== METHOD SUMMARY =========== -->
148

    
149
<A NAME="method_summary"><!-- --></A>
150
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152
<TD COLSPAN=2><FONT SIZE="+2">
153
<B>Method Summary</B></FONT></TD>
154
</TR>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
<CODE>&nbsp;void</CODE></FONT></TD>
158
<TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/CmdPan.html#cmd(java.awt.geom.Point2D, int, int)">cmd</A></B>(java.awt.geom.Point2D&nbsp;pt,
159
    int&nbsp;btn,
160
    int&nbsp;mouseEvent)</CODE>
161

    
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Recibe los eventos del rat?n.</TD>
164
</TR>
165
</TABLE>
166
&nbsp;<A NAME="methods_inherited_from_class_org.cresques.ui.cmd.Cmd"><!-- --></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 org.cresques.ui.cmd.<A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A></B></TD>
170
</TR>
171
<TR BGCOLOR="white" CLASS="TableRowColor">
172
<TD><CODE><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#get(java.lang.String)">get</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#getCursor()">getCursor</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#getEventsWanted()">getEventsWanted</A>, <A HREF="../../../../org/cresques/ui/cmd/Cmd.html#register(java.lang.String, org.cresques.ui.cmd.Cmd)">register</A></CODE></TD>
173
</TR>
174
</TABLE>
175
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
176
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
177
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
178
<TD><B>Methods inherited from class java.lang.Object</B></TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
182
</TR>
183
</TABLE>
184
&nbsp;
185
<P>
186

    
187
<!-- ============ FIELD DETAIL =========== -->
188

    
189

    
190
<!-- ========= CONSTRUCTOR DETAIL ======== -->
191

    
192
<A NAME="constructor_detail"><!-- --></A>
193
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
195
<TD COLSPAN=1><FONT SIZE="+2">
196
<B>Constructor Detail</B></FONT></TD>
197
</TR>
198
</TABLE>
199

    
200
<A NAME="CmdPan(org.cresques.ui.CQMapCanvas)"><!-- --></A><H3>
201
CmdPan</H3>
202
<PRE>
203
public <B>CmdPan</B>(<A HREF="../../../../org/cresques/ui/CQMapCanvas.html" title="interface in org.cresques.ui">CQMapCanvas</A>&nbsp;canvas)</PRE>
204
<DL>
205
<DD>Construye un nuevo CmdPan para el Canvas.
206
<P>
207
<DT><B>Parameters:</B><DD><CODE>canvas</CODE> - </DL>
208

    
209
<!-- ============ METHOD DETAIL ========== -->
210

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

    
219
<A NAME="cmd(java.awt.geom.Point2D, int, int)"><!-- --></A><H3>
220
cmd</H3>
221
<PRE>
222
public void <B>cmd</B>(java.awt.geom.Point2D&nbsp;pt,
223
                int&nbsp;btn,
224
                int&nbsp;mouseEvent)</PRE>
225
<DL>
226
<DD>Recibe los eventos del rat?n.
227
<P>
228
<DD><DL>
229
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#cmd(java.awt.geom.Point2D, int, int)">cmd</A></CODE> in class <CODE><A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A></CODE></DL>
230
</DD>
231
<DD><DL>
232
</DL>
233
</DD>
234
</DL>
235
<!-- ========= END OF CLASS DATA ========= -->
236
<HR>
237

    
238

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

    
263
<TR>
264
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
265
&nbsp;<A HREF="../../../../org/cresques/ui/cmd/CmdMeasure.html" title="class in org.cresques.ui.cmd"><B>PREV CLASS</B></A>&nbsp;
266
&nbsp;<A HREF="../../../../org/cresques/ui/cmd/CmdPLine.html" title="class in org.cresques.ui.cmd"><B>NEXT CLASS</B></A></FONT></TD>
267
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
268
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
269
&nbsp;<A HREF="CmdPan.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
270
&nbsp;<SCRIPT type="text/javascript">
271
  <!--
272
  if(window==top) {
273
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
274
  }
275
  //-->
276
</SCRIPT>
277
<NOSCRIPT>
278
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
279
</NOSCRIPT>
280

    
281
</FONT></TD>
282
</TR>
283
<TR>
284
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
285
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.cresques.ui.cmd.Cmd">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
286
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
287
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
288
</TR>
289
</TABLE>
290
<A NAME="skip-navbar_bottom"></A>
291
<!-- ======== END OF BOTTOM NAVBAR ======= -->
292

    
293
<HR>
294

    
295
</BODY>
296
</HTML>