/[debian]/libjgraph-java/trunk/doc/api/org/jgraph/graph/CellHandle.html
ViewVC logotype

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/CellHandle.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 816 - (show annotations)
Fri Aug 3 13:14:15 2007 UTC (13 years, 10 months ago) by gregoa
File MIME type: text/html
File size: 14035 byte(s)
* New upstream release.
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_11) on Mon Jul 30 10:14:30 BST 2007 -->
6 <TITLE>
7 CellHandle (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.CellHandle interface">
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="CellHandle (JGraph v5.10.1.4 API Specification)";
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="class-use/CellHandle.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;PREV CLASS&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="CellHandle.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 org.jgraph.graph</FONT>
86 <BR>
87 Interface CellHandle</H2>
88 <DL>
89 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/jgraph/plaf/basic/BasicGraphUI.RootHandle.html" title="class in org.jgraph.plaf.basic">BasicGraphUI.RootHandle</A>, <A HREF="../../../org/jgraph/graph/EdgeView.EdgeHandle.html" title="class in org.jgraph.graph">EdgeView.EdgeHandle</A>, <A HREF="../../../org/jgraph/graph/VertexView.SizeHandle.html" title="class in org.jgraph.graph">VertexView.SizeHandle</A></DD>
90 </DL>
91 <HR>
92 <DL>
93 <DT>public interface <B>CellHandle</B></DL>
94
95 <P>
96 Defines the requirements for objects that may be used as handles.
97 Handles are used to interactively manipulate a cell's appearance.
98 <P>
99
100 <P>
101 <HR>
102
103 <P>
104 <!-- ======== NESTED CLASS SUMMARY ======== -->
105
106
107 <!-- =========== FIELD SUMMARY =========== -->
108
109
110 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
111
112
113 <!-- ========== METHOD SUMMARY =========== -->
114
115 <A NAME="method_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>Method Summary</B></FONT></TD>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE>&nbsp;void</CODE></FONT></TD>
124 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellHandle.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</CODE>
125
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Messaged when the user drags the selection.</TD>
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131 <CODE>&nbsp;void</CODE></FONT></TD>
132 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellHandle.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</CODE>
133
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Messaged when the mouse is moved.</TD>
136 </TR>
137 <TR BGCOLOR="white" CLASS="TableRowColor">
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139 <CODE>&nbsp;void</CODE></FONT></TD>
140 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellHandle.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</CODE>
141
142 <BR>
143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Messaged when a mouse button is pressed.</TD>
144 </TR>
145 <TR BGCOLOR="white" CLASS="TableRowColor">
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147 <CODE>&nbsp;void</CODE></FONT></TD>
148 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellHandle.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</CODE>
149
150 <BR>
151 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Messaged when the drag operation has
152 terminated with a drop.</TD>
153 </TR>
154 <TR BGCOLOR="white" CLASS="TableRowColor">
155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156 <CODE>&nbsp;void</CODE></FONT></TD>
157 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellHandle.html#overlay(java.awt.Graphics)">overlay</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
158
159 <BR>
160 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paint the handle on the given graphics object during mouse
161 operations.</TD>
162 </TR>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165 <CODE>&nbsp;void</CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellHandle.html#paint(java.awt.Graphics)">paint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>
167
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paint the handle on the given graphics object once.</TD>
170 </TR>
171 </TABLE>
172 &nbsp;
173 <P>
174
175 <!-- ============ FIELD DETAIL =========== -->
176
177
178 <!-- ========= CONSTRUCTOR DETAIL ======== -->
179
180
181 <!-- ============ METHOD DETAIL ========== -->
182
183 <A NAME="method_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>Method Detail</B></FONT></TD>
188 </TR>
189 </TABLE>
190
191 <A NAME="paint(java.awt.Graphics)"><!-- --></A><H3>
192 paint</H3>
193 <PRE>
194 public void <B>paint</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
195 <DL>
196 <DD>Paint the handle on the given graphics object once.
197 <P>
198 <DD><DL>
199 <DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics object to paint the handle on</DL>
200 </DD>
201 </DL>
202 <HR>
203
204 <A NAME="overlay(java.awt.Graphics)"><!-- --></A><H3>
205 overlay</H3>
206 <PRE>
207 public void <B>overlay</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
208 <DL>
209 <DD>Paint the handle on the given graphics object during mouse
210 operations.
211 <P>
212 <DD><DL>
213 <DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics object to paint the handle on</DL>
214 </DD>
215 </DL>
216 <HR>
217
218 <A NAME="mouseMoved(java.awt.event.MouseEvent)"><!-- --></A><H3>
219 mouseMoved</H3>
220 <PRE>
221 public void <B>mouseMoved</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</PRE>
222 <DL>
223 <DD>Messaged when the mouse is moved.
224 <P>
225 <DD><DL>
226 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the mouse event to be processed</DL>
227 </DD>
228 </DL>
229 <HR>
230
231 <A NAME="mousePressed(java.awt.event.MouseEvent)"><!-- --></A><H3>
232 mousePressed</H3>
233 <PRE>
234 public void <B>mousePressed</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</PRE>
235 <DL>
236 <DD>Messaged when a mouse button is pressed.
237 <P>
238 <DD><DL>
239 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the mouse event to be processed</DL>
240 </DD>
241 </DL>
242 <HR>
243
244 <A NAME="mouseDragged(java.awt.event.MouseEvent)"><!-- --></A><H3>
245 mouseDragged</H3>
246 <PRE>
247 public void <B>mouseDragged</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</PRE>
248 <DL>
249 <DD>Messaged when the user drags the selection.
250 The Controller is responsible to determine whether the mouse is
251 inside the parent graph or not.
252 <P>
253 <DD><DL>
254 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the drag event to be processed</DL>
255 </DD>
256 </DL>
257 <HR>
258
259 <A NAME="mouseReleased(java.awt.event.MouseEvent)"><!-- --></A><H3>
260 mouseReleased</H3>
261 <PRE>
262 public void <B>mouseReleased</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/event/MouseEvent.html" title="class or interface in java.awt.event">MouseEvent</A>&nbsp;event)</PRE>
263 <DL>
264 <DD>Messaged when the drag operation has
265 terminated with a drop.
266 <P>
267 <DD><DL>
268 <DT><B>Parameters:</B><DD><CODE>event</CODE> - the drop event to be processed</DL>
269 </DD>
270 </DL>
271 <!-- ========= END OF CLASS DATA ========= -->
272 <HR>
273
274
275 <!-- ======= START OF BOTTOM NAVBAR ====== -->
276 <A NAME="navbar_bottom"><!-- --></A>
277 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
278 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
279 <TR>
280 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
281 <A NAME="navbar_bottom_firstrow"><!-- --></A>
282 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
283 <TR ALIGN="center" VALIGN="top">
284 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
285 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
286 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
287 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CellHandle.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
288 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
289 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
290 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
291 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
292 </TR>
293 </TABLE>
294 </TD>
295 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
296 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
297 </TD>
298 </TR>
299
300 <TR>
301 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
302 &nbsp;PREV CLASS&nbsp;
303 &nbsp;<A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
304 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
305 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
306 &nbsp;<A HREF="CellHandle.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
307 &nbsp;<SCRIPT type="text/javascript">
308 <!--
309 if(window==top) {
310 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
311 }
312 //-->
313 </SCRIPT>
314 <NOSCRIPT>
315 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
316 </NOSCRIPT>
317
318 </FONT></TD>
319 </TR>
320 <TR>
321 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
322 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
323 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
324 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
325 </TR>
326 </TABLE>
327 <A NAME="skip-navbar_bottom"></A>
328 <!-- ======== END OF BOTTOM NAVBAR ======= -->
329
330 <HR>
331 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
332 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
333 </BODY>
334 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26