<li><ahref="../../../../com/mxgraph/swing/handler/mxPanningHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/swing/handler/mxRubberband.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Next Class</span></a></li>
<li><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></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">com.mxgraph.swing.util.mxMouseAdapter</a></li>
<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>
<br>
<pre>public class <spanclass="strong">mxRotationHandler</span>
extends <ahref="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</a></pre>
<divclass="block">Basic example of implementing a handler for rotation. This can be used as follows:
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<divclass="block">Specifies if this handler is enabled.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a></code></td>
<divclass="block">Reference to the enclosing graph component.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</a></code></td>
<tdclass="colFirst"><code>static <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></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#mxRotationHandler(com.mxgraph.swing.mxGraphComponent)">mxRotationHandler</a></strong>(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</code>
<divclass="block">Constructs a new rotation handler.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#isStateHandled(com.mxgraph.view.mxCellState)">isStateHandled</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</a></strong>(<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>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</a></strong>(<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>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</a></strong>(<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>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</a></strong>(<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>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#paint(java.awt.Graphics)">paint</a></strong>(<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>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxRotationHandler.html#start(java.awt.event.MouseEvent)">start</a></strong>(<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>
<h3>Methods inherited from class com.mxgraph.swing.util.<ahref="../../../../com/mxgraph/swing/util/mxMouseAdapter.html"title="class in com.mxgraph.swing.util">mxMouseAdapter</a></h3>
<h3>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></h3>
<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></li>
<pre>public static <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> ROTATE_ICON</pre>
</li>
</ul>
<aname="graphComponent">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>graphComponent</h4>
<pre>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent</pre>
<divclass="block">Reference to the enclosing graph component.</div>
</li>
</ul>
<aname="enabled">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>enabled</h4>
<pre>protected boolean enabled</pre>
<divclass="block">Specifies if this handler is enabled. Default is true.</div>
</li>
</ul>
<aname="handle">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>handle</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</a> handle</pre>
</li>
</ul>
<aname="currentState">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentState</h4>
<pre>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> currentState</pre>
</li>
</ul>
<aname="initialAngle">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>initialAngle</h4>
<pre>protected double initialAngle</pre>
</li>
</ul>
<aname="currentAngle">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentAngle</h4>
<pre>protected double currentAngle</pre>
</li>
</ul>
<aname="first">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>first</h4>
<pre>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> first</pre>
<pre>public mxRotationHandler(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</pre>
<divclass="block">Constructs a new rotation handler.</div>
<pre>public <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> getGraphComponent()</pre>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</a> createHandle()</pre>
<pre>public boolean isStateHandled(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
</li>
</ul>
<aname="mousePressed(java.awt.event.MouseEvent)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>mousePressed</h4>
<pre>public void mousePressed(<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>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<dt><strong>Overrides:</strong></dt>
<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></dd>
</dl>
</li>
</ul>
<aname="start(java.awt.event.MouseEvent)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>start</h4>
<pre>public void start(<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>
</li>
</ul>
<aname="mouseMoved(java.awt.event.MouseEvent)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>mouseMoved</h4>
<pre>public void mouseMoved(<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>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<dt><strong>Overrides:</strong></dt>
<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></dd>
</dl>
</li>
</ul>
<aname="mouseDragged(java.awt.event.MouseEvent)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>mouseDragged</h4>
<pre>public void mouseDragged(<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>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<pre>public void mouseReleased(<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>
<dt><strong>Specified by:</strong></dt>
<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></dd>
<dt><strong>Overrides:</strong></dt>
<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></dd>
</dl>
</li>
</ul>
<aname="reset()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>reset</h4>
<pre>public void reset()</pre>
</li>
</ul>
<aname="paint(java.awt.Graphics)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>paint</h4>
<pre>public void paint(<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>
<li><ahref="../../../../com/mxgraph/swing/handler/mxPanningHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/swing/handler/mxRubberband.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Next Class</span></a></li>