JHotDraw 7.4.1

org.jhotdraw.draw.handle
Class RotateHandle

java.lang.Object
  extended by org.jhotdraw.draw.handle.AbstractHandle
      extended by org.jhotdraw.draw.handle.AbstractRotateHandle
          extended by org.jhotdraw.draw.handle.RotateHandle
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener, FigureListener, Handle

public class RotateHandle
extends AbstractRotateHandle

A Handle to rotate a Figure.

Version:
$Id: RotateHandle.java 604 2010-01-09 12:00:29Z rawcoder $
Author:
Werner Randelshofer.

Field Summary
 
Fields inherited from class org.jhotdraw.draw.handle.AbstractHandle
listenerList, view
 
Constructor Summary
RotateHandle(Figure owner)
          Creates a new instance.
 
Method Summary
protected  java.awt.geom.Point2D.Double getCenter()
           
protected  java.awt.geom.Point2D.Double getOrigin()
           
 
Methods inherited from class org.jhotdraw.draw.handle.AbstractRotateHandle
basicGetBounds, draw, getLocation, getRestoreData, getStartTheta, getToolTipText, getTransformedBounds, isCombinableWith, keyPressed, trackEnd, trackStart, trackStep
 
Methods inherited from class org.jhotdraw.draw.handle.AbstractHandle
addHandleListener, areaInvalidated, attributeChanged, contains, createSecondaryHandles, dispose, drawCircle, drawDiamond, drawRectangle, figureAdded, figureChanged, figureHandlesChanged, figureRemoved, figureRequestRemove, fireAreaInvalidated, fireHandleRequestRemove, fireHandleRequestSecondaryHandles, fireUndoableEditHappened, getBounds, getCursor, getDrawingArea, getEditor, getHandlesize, getOwner, getView, invalidate, keyReleased, keyTyped, removeHandleListener, setToolTipText, setView, trackDoubleClick, updateBounds, viewTransformChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotateHandle

public RotateHandle(Figure owner)
Creates a new instance.

Method Detail

getCenter

protected java.awt.geom.Point2D.Double getCenter()
Specified by:
getCenter in class AbstractRotateHandle

getOrigin

protected java.awt.geom.Point2D.Double getOrigin()
Specified by:
getOrigin in class AbstractRotateHandle

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.