<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">com.mxgraph.swing.util.mxMouseAdapter</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.swing.handler.mxConnectionHandler</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true"title="class or interface in java.awt.event">MouseMotionListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/EventListener.html?is-external=true"title="class or interface in java.util">EventListener</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxConnectionHandler</B><DT>extends <AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</A></DL>
</PRE>
<P>
Connection handler creates new connections between cells. This control is used to display the connector
icon, while the preview is used to draw the line.
mxEvent.CONNECT fires between begin- and endUpdate in mouseReleased. The <code>cell</code>
property contains the inserted edge, the <code>event</code> and <code>target</code>
properties contain the respective arguments that were passed to mouseReleased.
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<CODE>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Cursor.html?is-external=true"title="class or interface in java.awt">Cursor</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/ImageIcon.html?is-external=true"title="class or interface in javax.swing">ImageIcon</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html"title="class in com.mxgraph.swing.handler">mxCellMarker</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#mxConnectionHandler(com.mxgraph.swing.mxGraphComponent)">mxConnectionHandler</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#addGraphListeners(com.mxgraph.view.mxGraph)">addGraphListeners</A></B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</CODE>
<BR>
Installs the listeners to update the handles after any changes.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#addListener(java.lang.String, com.mxgraph.util.mxEventSource.mxIEventListener)">addListener</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName,
<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</CODE>
<BR>
Adds the given event listener.</TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A></CODE></FONT></TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#createTargetVertex(java.awt.event.MouseEvent, java.lang.Object)">createTargetVertex</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> source)</CODE>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/ImageIcon.html?is-external=true"title="class or interface in javax.swing">ImageIcon</A></CODE></FONT></TD>
<CODE> <AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A></CODE></FONT></TD>
<CODE> <AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html"title="class in com.mxgraph.swing.handler">mxCellMarker</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#isValidSource(java.lang.Object)">isValidSource</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#isValidTarget(java.lang.Object)">isValidTarget</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#paint(java.awt.Graphics)">paint</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</A> g)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#removeGraphListeners(com.mxgraph.view.mxGraph)">removeGraphListeners</A></B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</CODE>
<BR>
Removes all installed listeners.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)">removeListener</A></B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</CODE>
<BR>
Removes the given event listener.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener, java.lang.String)">removeListener</A></B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName)</CODE>
<BR>
Removes the given event listener for the specified event name.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#setBounds(java.awt.Rectangle)">setBounds</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A> value)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#setConnectIcon(javax.swing.ImageIcon)">setConnectIcon</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/ImageIcon.html?is-external=true"title="class or interface in javax.swing">ImageIcon</A> value)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#setConnectPreview(com.mxgraph.swing.handler.mxConnectPreview)">setConnectPreview</A></B>(<AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A> value)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#setMarker(com.mxgraph.swing.handler.mxCellMarker)">setMarker</A></B>(<AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html"title="class in com.mxgraph.swing.handler">mxCellMarker</A> value)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#start(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState)">start</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxConnectionHandler.html#validateConnection(java.lang.Object, java.lang.Object)">validateConnection</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> source,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> target)</CODE>
<BR>
Returns the error message or an empty string if the connection for the
<THALIGN="left"><B>Methods inherited from class com.mxgraph.swing.util.<AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</A></B></TH>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Cursor.html?is-external=true"title="class or interface in java.awt">Cursor</A><B>CONNECT_CURSOR</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="graphComponent"><!----></A><H3>
graphComponent</H3>
<PRE>
protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A><B>graphComponent</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="eventSource"><!----></A><H3>
eventSource</H3>
<PRE>
protected <AHREF="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A><B>eventSource</B></PRE>
<DL>
<DD>Holds the event source.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="connectPreview"><!----></A><H3>
connectPreview</H3>
<PRE>
protected <AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A><B>connectPreview</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="connectIcon"><!----></A><H3>
connectIcon</H3>
<PRE>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/ImageIcon.html?is-external=true"title="class or interface in javax.swing">ImageIcon</A><B>connectIcon</B></PRE>
<DL>
<DD>Specifies the icon to be used for creating new connections. If this is
specified then it is used instead of the handle. Default is null.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="handleSize"><!----></A><H3>
handleSize</H3>
<PRE>
protected int <B>handleSize</B></PRE>
<DL>
<DD>Specifies the size of the handle to be used for creating new
connections. Default is mxConstants.CONNECT_HANDLE_SIZE.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="handleEnabled"><!----></A><H3>
handleEnabled</H3>
<PRE>
protected boolean <B>handleEnabled</B></PRE>
<DL>
<DD>Specifies if a handle should be used for creating new connections. This
is only used if no connectIcon is specified. If this is false, then the
source cell will be highlighted when the mouse is over the hotspot given
in the marker. Default is mxConstants.CONNECT_HANDLE_ENABLED.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="select"><!----></A><H3>
select</H3>
<PRE>
protected boolean <B>select</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="createTarget"><!----></A><H3>
createTarget</H3>
<PRE>
protected boolean <B>createTarget</B></PRE>
<DL>
<DD>Specifies if the source should be cloned and used as a target if no
target was selected. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="keepOnTop"><!----></A><H3>
keepOnTop</H3>
<PRE>
protected boolean <B>keepOnTop</B></PRE>
<DL>
<DD>Appearance and event handling order wrt subhandles.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="enabled"><!----></A><H3>
enabled</H3>
<PRE>
protected boolean <B>enabled</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="first"><!----></A><H3>
first</H3>
<PRE>
protected transient <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</A><B>first</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="active"><!----></A><H3>
active</H3>
<PRE>
protected transient boolean <B>active</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="bounds"><!----></A><H3>
bounds</H3>
<PRE>
protected transient <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A><B>bounds</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="source"><!----></A><H3>
source</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>source</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="marker"><!----></A><H3>
marker</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html"title="class in com.mxgraph.swing.handler">mxCellMarker</A><B>marker</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="error"><!----></A><H3>
error</H3>
<PRE>
protected transient <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>error</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="resetHandler"><!----></A><H3>
resetHandler</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A><B>resetHandler</B></PRE>
public <B>mxConnectionHandler</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</PRE>
protected void <B>addGraphListeners</B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</PRE>
<DL>
<DD>Installs the listeners to update the handles after any changes.
protected void <B>removeGraphListeners</B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</PRE>
<DL>
<DD>Removes all installed listeners.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="createConnectPreview()"><!----></A><H3>
createConnectPreview</H3>
<PRE>
protected <AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A><B>createConnectPreview</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getConnectPreview()"><!----></A><H3>
getConnectPreview</H3>
<PRE>
public <AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A><B>getConnectPreview</B>()</PRE>
public void <B>setConnectPreview</B>(<AHREF="../../../../com/mxgraph/swing/handler/mxConnectPreview.html"title="class in com.mxgraph.swing.handler">mxConnectPreview</A> value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isConnecting()"><!----></A><H3>
isConnecting</H3>
<PRE>
public boolean <B>isConnecting</B>()</PRE>
<DL>
<DD>Returns true if the source terminal has been clicked and a new
connection is currently being previewed.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isActive()"><!----></A><H3>
isActive</H3>
<PRE>
public boolean <B>isActive</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isHighlighting()"><!----></A><H3>
isHighlighting</H3>
<PRE>
public boolean <B>isHighlighting</B>()</PRE>
<DL>
<DD>Returns true if no connectIcon is specified and handleEnabled is false.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isEnabled()"><!----></A><H3>
isEnabled</H3>
<PRE>
public boolean <B>isEnabled</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setEnabled(boolean)"><!----></A><H3>
setEnabled</H3>
<PRE>
public void <B>setEnabled</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isKeepOnTop()"><!----></A><H3>
isKeepOnTop</H3>
<PRE>
public boolean <B>isKeepOnTop</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setKeepOnTop(boolean)"><!----></A><H3>
setKeepOnTop</H3>
<PRE>
public void <B>setKeepOnTop</B>(boolean value)</PRE>
public void <B>setConnectIcon</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/ImageIcon.html?is-external=true"title="class or interface in javax.swing">ImageIcon</A> value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getConnecIcon()"><!----></A><H3>
getConnecIcon</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/ImageIcon.html?is-external=true"title="class or interface in javax.swing">ImageIcon</A><B>getConnecIcon</B>()</PRE>
public void <B>setHandleEnabled</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isHandleEnabled()"><!----></A><H3>
isHandleEnabled</H3>
<PRE>
public boolean <B>isHandleEnabled</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setHandleSize(int)"><!----></A><H3>
setHandleSize</H3>
<PRE>
public void <B>setHandleSize</B>(int value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getHandleSize()"><!----></A><H3>
getHandleSize</H3>
<PRE>
public int <B>getHandleSize</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getMarker()"><!----></A><H3>
getMarker</H3>
<PRE>
public <AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html"title="class in com.mxgraph.swing.handler">mxCellMarker</A><B>getMarker</B>()</PRE>
public void <B>setMarker</B>(<AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html"title="class in com.mxgraph.swing.handler">mxCellMarker</A> value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setCreateTarget(boolean)"><!----></A><H3>
setCreateTarget</H3>
<PRE>
public void <B>setCreateTarget</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isCreateTarget()"><!----></A><H3>
isCreateTarget</H3>
<PRE>
public boolean <B>isCreateTarget</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setSelect(boolean)"><!----></A><H3>
setSelect</H3>
<PRE>
public void <B>setSelect</B>(boolean value)</PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A><B>createTargetVertex</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> source)</PRE>
public boolean <B>isValidSource</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell)</PRE>
public boolean <B>isValidTarget</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD>Returns true. The call to mxGraph.isValidTarget is implicit by calling
mxGraph.getEdgeValidationError in validateConnection. This is an
additional hook for disabling certain targets in this specific handler.
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>validateConnection</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> source,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> target)</PRE>
<DL>
<DD>Returns the error message or an empty string if the connection for the
given source target pair is not valid. Otherwise it returns null.
public void <B>mousePressed</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true#mousePressed(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mousePressed</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A></CODE><DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</A></CODE></DL>
public void <B>start</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
public void <B>mouseMoved</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true#mouseMoved(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseMoved</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true"title="class or interface in java.awt.event">MouseMotionListener</A></CODE><DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</A></CODE></DL>
public void <B>mouseDragged</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true#mouseDragged(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseDragged</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true"title="class or interface in java.awt.event">MouseMotionListener</A></CODE><DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</A></CODE></DL>
public void <B>mouseReleased</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true#mouseReleased(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseReleased</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A></CODE><DT><B>Overrides:</B><DD><CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></CODE> in class <CODE><AHREF="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</A></CODE></DL>
public void <B>setBounds</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A> value)</PRE>
public void <B>addListener</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName,
<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</PRE>
public void <B>removeListener</B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</PRE>
public void <B>removeListener</B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName)</PRE>
<DL>
<DD>Removes the given event listener for the specified event name.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="paint(java.awt.Graphics)"><!----></A><H3>
paint</H3>
<PRE>
public void <B>paint</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</A> g)</PRE>