Class RotateHandle
- java.lang.Object
- 
- com.bc.ceres.swing.figure.AbstractFigure
- 
- com.bc.ceres.swing.figure.AbstractHandle
- 
- com.bc.ceres.swing.figure.support.RotateHandle
 
 
 
- 
- All Implemented Interfaces:
- Figure,- Handle,- ShapeFigure,- Restorable,- Cloneable
 
 public class RotateHandle extends AbstractHandle AHandlethat can be used to rotate figures.- Since:
- Ceres 0.10
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.bc.ceres.swing.figure.FigureFigure.Rank
 
- 
 - 
Field Summary- 
Fields inherited from class com.bc.ceres.swing.figure.AbstractFigureNO_FIGURES, NO_HANDLES
 
- 
 - 
Constructor SummaryConstructors Constructor Description RotateHandle(Figure figure, FigureStyle style)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrawHandle(Graphics2D g)voidmove(double dx, double dy)Moves the figure by the given delta in model coordinates.voidupdateLocation()- 
Methods inherited from class com.bc.ceres.swing.figure.AbstractHandledispose, draw, getBounds, getCursor, getFigure, getLocation, getRank, getShape, getX, getY, isCloseTo, isCollection, isSelectable, setLocation, setLocation, setShape
 - 
Methods inherited from class com.bc.ceres.swing.figure.AbstractFigureaddChangeListener, addFigure, addFigure, addFigureImpl, addFigureImpl, addFigures, addFiguresImpl, addSegment, clone, contains, createHandles, createMemento, createScaleHandles, fireFigureChanged, fireFigureChanged, fireFiguresAdded, fireFiguresRemoved, getChangeListeners, getEffectiveStyle, getFigure, getFigure, getFigureCount, getFigureIndex, getFigures, getFigures, getHandleStyle, getMaxSelectionStage, getNormalStyle, getSegment, getSelectedHandleStyle, getSelectedStyle, isSelected, removeAllFigures, removeChangeListener, removeFigure, removeFigureImpl, removeFigures, removeFiguresImpl, removeFiguresImpl, removeSegment, rotate, scale, setMemento, setNormalStyle, setSegment, setSelectable, setSelected, setSelectedStyle
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.bc.ceres.swing.figure.FigureaddChangeListener, addFigure, addFigure, addFigures, addSegment, clone, contains, createHandles, getChangeListeners, getEffectiveStyle, getFigure, getFigure, getFigureCount, getFigureIndex, getFigures, getFigures, getMaxSelectionStage, getNormalStyle, getSegment, getSelectedStyle, isSelected, removeAllFigures, removeChangeListener, removeFigure, removeFigures, removeSegment, rotate, scale, setNormalStyle, setSegment, setSelected, setSelectedStyle
 - 
Methods inherited from interface com.bc.ceres.swing.undo.RestorablecreateMemento, setMemento
 
- 
 
- 
- 
- 
Constructor Detail- 
RotateHandlepublic RotateHandle(Figure figure, FigureStyle style) 
 
- 
 - 
Method Detail- 
updateLocationpublic void updateLocation() - Specified by:
- updateLocationin class- AbstractHandle
 
 - 
movepublic void move(double dx, double dy)Description copied from interface:FigureMoves the figure by the given delta in model coordinates.- Specified by:
- movein interface- Figure
- Specified by:
- movein class- AbstractHandle
- Parameters:
- dx- Delta X in model coordinates.
- dy- Delta Y in model coordinates.
 
 - 
drawHandlepublic void drawHandle(Graphics2D g) - Overrides:
- drawHandlein class- AbstractHandle
 
 
- 
 
-