<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 "><B>com.mxgraph.swing.handler.mxSelectionCellsHandler</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>mxSelectionCellsHandler</B><DT>extends <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><DT>implements <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></DL>
<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>protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<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>,<AHREF="../../../../com/mxgraph/swing/handler/mxCellHandler.html"title="class in com.mxgraph.swing.handler">mxCellHandler</A>></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true"title="class or interface in java.beans">PropertyChangeListener</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/mxSelectionCellsHandler.html#mxSelectionCellsHandler(com.mxgraph.swing.mxGraphComponent)">mxSelectionCellsHandler</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/mxSelectionCellsHandler.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>
<CODE> <AHREF="../../../../com/mxgraph/swing/handler/mxCellHandler.html"title="class in com.mxgraph.swing.handler">mxCellHandler</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html#getHandler(java.lang.Object)">getHandler</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>
<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/mxSelectionCellsHandler.html#getToolTipText(java.awt.event.MouseEvent)">getToolTipText</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>
<BR>
Redirects the tooltip handling of the JComponent to the graph
component, which in turn may use getHandleToolTipText in this class to
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</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> arg0)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.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/mxSelectionCellsHandler.html#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</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> arg0)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html#mouseExited(java.awt.event.MouseEvent)">mouseExited</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> arg0)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.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/mxSelectionCellsHandler.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>
<BR>
Dispatches the mousepressed event to the subhandles.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.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/mxSelectionCellsHandler.html#paintHandles(java.awt.Graphics)">paintHandles</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/mxSelectionCellsHandler.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>
<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 int <B>DEFAULT_MAX_HANDLERS</B></PRE>
<DL>
<DD>Defines the default value for maxHandlers. Default is 100.
<P>
<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>
<DD>Reference to the enclosing graph component.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="enabled"><!----></A><H3>
enabled</H3>
<PRE>
protected boolean <B>enabled</B></PRE>
<DL>
<DD>Specifies if this handler is enabled.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="visible"><!----></A><H3>
visible</H3>
<PRE>
protected boolean <B>visible</B></PRE>
<DL>
<DD>Specifies if this handler is visible.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="bounds"><!----></A><H3>
bounds</H3>
<PRE>
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><B>bounds</B></PRE>
<DL>
<DD>Reference to the enclosing graph component.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="maxHandlers"><!----></A><H3>
maxHandlers</H3>
<PRE>
protected int <B>maxHandlers</B></PRE>
<DL>
<DD>Defines the maximum number of handlers to paint individually.
Default is DEFAULT_MAX_HANDLES.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="handlers"><!----></A><H3>
handlers</H3>
<PRE>
protected transient <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true"title="class or interface in java.util">Map</A><<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>,<AHREF="../../../../com/mxgraph/swing/handler/mxCellHandler.html"title="class in com.mxgraph.swing.handler">mxCellHandler</A>><B>handlers</B></PRE>
<DL>
<DD>Maps from cells to handlers in the order of the selection cells.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="refreshHandler"><!----></A><H3>
refreshHandler</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A><B>refreshHandler</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="labelMoveHandler"><!----></A><H3>
labelMoveHandler</H3>
<PRE>
protected transient <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/beans/PropertyChangeListener.html?is-external=true"title="class or interface in java.beans">PropertyChangeListener</A><B>labelMoveHandler</B></PRE>
public <B>mxSelectionCellsHandler</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>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getGraphComponent()"><!----></A><H3>
getGraphComponent</H3>
<PRE>
public <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A><B>getGraphComponent</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isEnabled()"><!----></A><H3>
isEnabled</H3>
<PRE>
public boolean <B>isEnabled</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<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>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isVisible()"><!----></A><H3>
isVisible</H3>
<PRE>
public boolean <B>isVisible</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setVisible(boolean)"><!----></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(boolean value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getMaxHandlers()"><!----></A><H3>
getMaxHandlers</H3>
<PRE>
public int <B>getMaxHandlers</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setMaxHandlers(int)"><!----></A><H3>
setMaxHandlers</H3>
<PRE>
public void <B>setMaxHandlers</B>(int value)</PRE>
public <AHREF="../../../../com/mxgraph/swing/handler/mxCellHandler.html"title="class in com.mxgraph.swing.handler">mxCellHandler</A><B>getHandler</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 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>Dispatches the mousepressed event to the subhandles. This is
called from the connection handler as subhandles have precedence
over the connection handler.
<P>
<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></DL>
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></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></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></DL>
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>getToolTipText</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>Redirects the tooltip handling of the JComponent to the graph
component, which in turn may use getHandleToolTipText in this class to
public void <B>paintHandles</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>
public void <B>mouseClicked</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> arg0)</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#mouseClicked(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseClicked</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></DL>
public void <B>mouseEntered</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> arg0)</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#mouseEntered(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseEntered</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></DL>
public void <B>mouseExited</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> arg0)</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#mouseExited(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseExited</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></DL>