root / trunk / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / ui / cmd / Cmd.html @ 2849
History | View | Annotate | Download (18 KB)
1 | 2849 | nacho | <!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 Fri Sep 02 13:43:20 CEST 2005 -->
|
||
6 | <TITLE>
|
||
7 | Cmd |
||
8 | </TITLE>
|
||
9 | |||
10 | <META NAME="keywords" CONTENT="org.cresques.ui.cmd.Cmd 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="Cmd"; |
||
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> </TD> |
||
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | PREV CLASS |
||
53 | <A HREF="../../../../org/cresques/ui/cmd/CmdInfo.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> |
||
56 | <A HREF="Cmd.html" target="_top"><B>NO FRAMES</B></A> |
||
57 | <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
74 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 Cmd</H2>
|
||
87 | <PRE>
|
||
88 | java.lang.Object |
||
89 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.ui.cmd.Cmd</B> |
||
90 | </PRE>
|
||
91 | <DL>
|
||
92 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/cresques/ui/cmd/CmdInfo.html" title="class in org.cresques.ui.cmd">CmdInfo</A>, <A HREF="../../../../org/cresques/ui/cmd/CmdMeasure.html" title="class in org.cresques.ui.cmd">CmdMeasure</A>, <A HREF="../../../../org/cresques/ui/cmd/CmdPan.html" title="class in org.cresques.ui.cmd">CmdPan</A>, <A HREF="../../../../org/cresques/ui/cmd/CmdPLine.html" title="class in org.cresques.ui.cmd">CmdPLine</A>, <A HREF="../../../../org/cresques/ui/cmd/CmdSaveRaster.html" title="class in org.cresques.ui.cmd">CmdSaveRaster</A>, <A HREF="../../../../org/cresques/ui/cmd/CmdSelect.html" title="class in org.cresques.ui.cmd">CmdSelect</A>, <A HREF="../../../../org/cresques/ui/cmd/CmdZoom.html" title="class in org.cresques.ui.cmd">CmdZoom</A></DD> |
||
93 | </DL>
|
||
94 | <HR>
|
||
95 | <DL>
|
||
96 | <DT>public abstract class <B>Cmd</B><DT>extends java.lang.Object</DL> |
||
97 | |||
98 | <P>
|
||
99 | Clase Cmd, ancestro de todos los comandos del canvas. |
||
100 | Permite a?adir al canvas funcionalidades que responden a eventos de |
||
101 | rat?n y producen canvios en el estado del canvas. |
||
102 | <P>
|
||
103 | |||
104 | <P>
|
||
105 | <DL>
|
||
106 | <DT><B>Author:</B></DT> |
||
107 | <DD>"Luis W. Sevilla" <sevilla_lui@gva.es></DD> |
||
108 | </DL>
|
||
109 | <HR>
|
||
110 | |||
111 | <P>
|
||
112 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
113 | |||
114 | |||
115 | <!-- =========== FIELD SUMMARY =========== -->
|
||
116 | |||
117 | <A NAME="field_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>Field Summary</B></FONT></TD> |
||
122 | </TR>
|
||
123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
124 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
125 | <CODE>protected java.awt.Cursor</CODE></FONT></TD> |
||
126 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#cursor">cursor</A></B></CODE> |
||
127 | |||
128 | <BR>
|
||
129 | </TD> |
||
130 | </TR>
|
||
131 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
133 | <CODE>static int</CODE></FONT></TD> |
||
134 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#DRAG">DRAG</A></B></CODE> |
||
135 | |||
136 | <BR>
|
||
137 | </TD> |
||
138 | </TR>
|
||
139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
141 | <CODE>static int</CODE></FONT></TD> |
||
142 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#LEFT">LEFT</A></B></CODE> |
||
143 | |||
144 | <BR>
|
||
145 | </TD> |
||
146 | </TR>
|
||
147 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
149 | <CODE>static int</CODE></FONT></TD> |
||
150 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#MIDDLE">MIDDLE</A></B></CODE> |
||
151 | |||
152 | <BR>
|
||
153 | </TD> |
||
154 | </TR>
|
||
155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
157 | <CODE>static int</CODE></FONT></TD> |
||
158 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#PRESS">PRESS</A></B></CODE> |
||
159 | |||
160 | <BR>
|
||
161 | </TD> |
||
162 | </TR>
|
||
163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
165 | <CODE>static int</CODE></FONT></TD> |
||
166 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#RELEASE">RELEASE</A></B></CODE> |
||
167 | |||
168 | <BR>
|
||
169 | </TD> |
||
170 | </TR>
|
||
171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
173 | <CODE>static int</CODE></FONT></TD> |
||
174 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#RIGHT">RIGHT</A></B></CODE> |
||
175 | |||
176 | <BR>
|
||
177 | </TD> |
||
178 | </TR>
|
||
179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
181 | <CODE>static int</CODE></FONT></TD> |
||
182 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#type">type</A></B></CODE> |
||
183 | |||
184 | <BR>
|
||
185 | </TD> |
||
186 | </TR>
|
||
187 | </TABLE>
|
||
188 |
|
||
189 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
190 | |||
191 | <A NAME="constructor_summary"><!-- --></A> |
||
192 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
193 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
194 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
195 | <B>Constructor Summary</B></FONT></TD> |
||
196 | </TR>
|
||
197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
198 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#Cmd(org.cresques.ui.CQMapCanvas)">Cmd</A></B>(<A HREF="../../../../org/cresques/ui/CQMapCanvas.html" title="interface in org.cresques.ui">CQMapCanvas</A> canvas)</CODE> |
||
199 | |||
200 | <BR>
|
||
201 | Construye un nuevo Cmd para el Canvas</TD> |
||
202 | </TR>
|
||
203 | </TABLE>
|
||
204 |
|
||
205 | <!-- ========== METHOD SUMMARY =========== -->
|
||
206 | |||
207 | <A NAME="method_summary"><!-- --></A> |
||
208 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
209 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
210 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
211 | <B>Method Summary</B></FONT></TD> |
||
212 | </TR>
|
||
213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
215 | <CODE>abstract void</CODE></FONT></TD> |
||
216 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#cmd(java.awt.geom.Point2D, int, int)">cmd</A></B>(java.awt.geom.Point2D pt, |
||
217 | int bt,
|
||
218 | int mouseEvent)</CODE> |
||
219 | |||
220 | <BR>
|
||
221 | Recibe los eventos del rat?n.</TD> |
||
222 | </TR>
|
||
223 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
225 | <CODE>static <A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A></CODE></FONT></TD> |
||
226 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#get(java.lang.String)">get</A></B>(java.lang.String cmdStr)</CODE> |
||
227 | |||
228 | <BR>
|
||
229 | </TD> |
||
230 | </TR>
|
||
231 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
233 | <CODE> java.awt.Cursor</CODE></FONT></TD> |
||
234 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#getCursor()">getCursor</A></B>()</CODE> |
||
235 | |||
236 | <BR>
|
||
237 | </TD> |
||
238 | </TR>
|
||
239 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
241 | <CODE> int</CODE></FONT></TD> |
||
242 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#getEventsWanted()">getEventsWanted</A></B>()</CODE> |
||
243 | |||
244 | <BR>
|
||
245 | Devuelve un Bitset con los eventos de raton que requiere.</TD> |
||
246 | </TR>
|
||
247 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
248 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
249 | <CODE>static void</CODE></FONT></TD> |
||
250 | <TD><CODE><B><A HREF="../../../../org/cresques/ui/cmd/Cmd.html#register(java.lang.String, org.cresques.ui.cmd.Cmd)">register</A></B>(java.lang.String cmdStr, |
||
251 | <A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A> command)</CODE> |
||
252 | |||
253 | <BR>
|
||
254 | </TD> |
||
255 | </TR>
|
||
256 | </TABLE>
|
||
257 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
258 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
259 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
260 | <TD><B>Methods inherited from class java.lang.Object</B></TD> |
||
261 | </TR>
|
||
262 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
263 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
264 | </TR>
|
||
265 | </TABLE>
|
||
266 |
|
||
267 | <P>
|
||
268 | |||
269 | <!-- ============ FIELD DETAIL =========== -->
|
||
270 | |||
271 | <A NAME="field_detail"><!-- --></A> |
||
272 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
273 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
274 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
275 | <B>Field Detail</B></FONT></TD> |
||
276 | </TR>
|
||
277 | </TABLE>
|
||
278 | |||
279 | <A NAME="LEFT"><!-- --></A><H3> |
||
280 | LEFT</H3>
|
||
281 | <PRE>
|
||
282 | public static final int <B>LEFT</B></PRE> |
||
283 | <DL>
|
||
284 | <DL>
|
||
285 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.ui.cmd.Cmd.LEFT">Constant Field Values</A></DL> |
||
286 | </DL>
|
||
287 | <HR>
|
||
288 | |||
289 | <A NAME="RIGHT"><!-- --></A><H3> |
||
290 | RIGHT</H3>
|
||
291 | <PRE>
|
||
292 | public static final int <B>RIGHT</B></PRE> |
||
293 | <DL>
|
||
294 | <DL>
|
||
295 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.ui.cmd.Cmd.RIGHT">Constant Field Values</A></DL> |
||
296 | </DL>
|
||
297 | <HR>
|
||
298 | |||
299 | <A NAME="MIDDLE"><!-- --></A><H3> |
||
300 | MIDDLE</H3>
|
||
301 | <PRE>
|
||
302 | public static final int <B>MIDDLE</B></PRE> |
||
303 | <DL>
|
||
304 | <DL>
|
||
305 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.ui.cmd.Cmd.MIDDLE">Constant Field Values</A></DL> |
||
306 | </DL>
|
||
307 | <HR>
|
||
308 | |||
309 | <A NAME="PRESS"><!-- --></A><H3> |
||
310 | PRESS</H3>
|
||
311 | <PRE>
|
||
312 | public static final int <B>PRESS</B></PRE> |
||
313 | <DL>
|
||
314 | <DL>
|
||
315 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.ui.cmd.Cmd.PRESS">Constant Field Values</A></DL> |
||
316 | </DL>
|
||
317 | <HR>
|
||
318 | |||
319 | <A NAME="RELEASE"><!-- --></A><H3> |
||
320 | RELEASE</H3>
|
||
321 | <PRE>
|
||
322 | public static final int <B>RELEASE</B></PRE> |
||
323 | <DL>
|
||
324 | <DL>
|
||
325 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.ui.cmd.Cmd.RELEASE">Constant Field Values</A></DL> |
||
326 | </DL>
|
||
327 | <HR>
|
||
328 | |||
329 | <A NAME="DRAG"><!-- --></A><H3> |
||
330 | DRAG</H3>
|
||
331 | <PRE>
|
||
332 | public static final int <B>DRAG</B></PRE> |
||
333 | <DL>
|
||
334 | <DL>
|
||
335 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.ui.cmd.Cmd.DRAG">Constant Field Values</A></DL> |
||
336 | </DL>
|
||
337 | <HR>
|
||
338 | |||
339 | <A NAME="type"><!-- --></A><H3> |
||
340 | type</H3>
|
||
341 | <PRE>
|
||
342 | public static final int <B>type</B></PRE> |
||
343 | <DL>
|
||
344 | <DL>
|
||
345 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.ui.cmd.Cmd.type">Constant Field Values</A></DL> |
||
346 | </DL>
|
||
347 | <HR>
|
||
348 | |||
349 | <A NAME="cursor"><!-- --></A><H3> |
||
350 | cursor</H3>
|
||
351 | <PRE>
|
||
352 | protected java.awt.Cursor <B>cursor</B></PRE> |
||
353 | <DL>
|
||
354 | <DL>
|
||
355 | </DL>
|
||
356 | </DL>
|
||
357 | |||
358 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
359 | |||
360 | <A NAME="constructor_detail"><!-- --></A> |
||
361 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
362 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
363 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
364 | <B>Constructor Detail</B></FONT></TD> |
||
365 | </TR>
|
||
366 | </TABLE>
|
||
367 | |||
368 | <A NAME="Cmd(org.cresques.ui.CQMapCanvas)"><!-- --></A><H3> |
||
369 | Cmd</H3>
|
||
370 | <PRE>
|
||
371 | public <B>Cmd</B>(<A HREF="../../../../org/cresques/ui/CQMapCanvas.html" title="interface in org.cresques.ui">CQMapCanvas</A> canvas)</PRE> |
||
372 | <DL>
|
||
373 | <DD>Construye un nuevo Cmd para el Canvas
|
||
374 | <P>
|
||
375 | <DT><B>Parameters:</B><DD><CODE>canvas</CODE> - </DL> |
||
376 | |||
377 | <!-- ============ METHOD DETAIL ========== -->
|
||
378 | |||
379 | <A NAME="method_detail"><!-- --></A> |
||
380 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
381 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
382 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
383 | <B>Method Detail</B></FONT></TD> |
||
384 | </TR>
|
||
385 | </TABLE>
|
||
386 | |||
387 | <A NAME="register(java.lang.String, org.cresques.ui.cmd.Cmd)"><!-- --></A><H3> |
||
388 | register</H3>
|
||
389 | <PRE>
|
||
390 | public static void <B>register</B>(java.lang.String cmdStr, |
||
391 | <A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A> command)</PRE> |
||
392 | <DL>
|
||
393 | <DD><DL> |
||
394 | </DL>
|
||
395 | </DD>
|
||
396 | </DL>
|
||
397 | <HR>
|
||
398 | |||
399 | <A NAME="get(java.lang.String)"><!-- --></A><H3> |
||
400 | get</H3>
|
||
401 | <PRE>
|
||
402 | public static <A HREF="../../../../org/cresques/ui/cmd/Cmd.html" title="class in org.cresques.ui.cmd">Cmd</A> <B>get</B>(java.lang.String cmdStr)</PRE> |
||
403 | <DL>
|
||
404 | <DD><DL> |
||
405 | </DL>
|
||
406 | </DD>
|
||
407 | </DL>
|
||
408 | <HR>
|
||
409 | |||
410 | <A NAME="cmd(java.awt.geom.Point2D, int, int)"><!-- --></A><H3> |
||
411 | cmd</H3>
|
||
412 | <PRE>
|
||
413 | public abstract void <B>cmd</B>(java.awt.geom.Point2D pt, |
||
414 | int bt,
|
||
415 | int mouseEvent)</PRE> |
||
416 | <DL>
|
||
417 | <DD>Recibe los eventos del rat?n.
|
||
418 | <P>
|
||
419 | <DD><DL> |
||
420 | </DL>
|
||
421 | </DD>
|
||
422 | </DL>
|
||
423 | <HR>
|
||
424 | |||
425 | <A NAME="getEventsWanted()"><!-- --></A><H3> |
||
426 | getEventsWanted</H3>
|
||
427 | <PRE>
|
||
428 | public int <B>getEventsWanted</B>()</PRE> |
||
429 | <DL>
|
||
430 | <DD>Devuelve un Bitset con los eventos de raton que requiere.
|
||
431 | <P>
|
||
432 | <DD><DL> |
||
433 | |||
434 | <DT><B>Returns:</B><DD>eventsWanted (BitSet)</DL> |
||
435 | </DD>
|
||
436 | </DL>
|
||
437 | <HR>
|
||
438 | |||
439 | <A NAME="getCursor()"><!-- --></A><H3> |
||
440 | getCursor</H3>
|
||
441 | <PRE>
|
||
442 | public java.awt.Cursor <B>getCursor</B>()</PRE> |
||
443 | <DL>
|
||
444 | <DD><DL> |
||
445 | </DL>
|
||
446 | </DD>
|
||
447 | </DL>
|
||
448 | <!-- ========= END OF CLASS DATA ========= -->
|
||
449 | <HR>
|
||
450 | |||
451 | |||
452 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
453 | <A NAME="navbar_bottom"><!-- --></A> |
||
454 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
455 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
456 | <TR>
|
||
457 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
458 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
459 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
460 | <TR ALIGN="center" VALIGN="top"> |
||
461 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
462 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
463 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
464 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
465 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
466 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
467 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
468 | </TR>
|
||
469 | </TABLE>
|
||
470 | </TD>
|
||
471 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
472 | </EM>
|
||
473 | </TD>
|
||
474 | </TR>
|
||
475 | |||
476 | <TR>
|
||
477 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
478 | PREV CLASS |
||
479 | <A HREF="../../../../org/cresques/ui/cmd/CmdInfo.html" title="class in org.cresques.ui.cmd"><B>NEXT CLASS</B></A></FONT></TD> |
||
480 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
481 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
||
482 | <A HREF="Cmd.html" target="_top"><B>NO FRAMES</B></A> |
||
483 | <SCRIPT type="text/javascript"> |
||
484 | <!--
|
||
485 | if(window==top) {
|
||
486 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
487 | }
|
||
488 | //-->
|
||
489 | </SCRIPT>
|
||
490 | <NOSCRIPT>
|
||
491 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
492 | </NOSCRIPT>
|
||
493 | |||
494 | </FONT></TD> |
||
495 | </TR>
|
||
496 | <TR>
|
||
497 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
498 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
499 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
500 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
501 | </TR>
|
||
502 | </TABLE>
|
||
503 | <A NAME="skip-navbar_bottom"></A> |
||
504 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
505 | |||
506 | <HR>
|
||
507 | |||
508 | </BODY>
|
||
509 | </HTML> |