Class RotationControls.SWRotationHandle
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
-
- com.inductiveautomation.ignition.designer.designable.controls.RotationControls.AbstractRotationHandle
-
- com.inductiveautomation.ignition.designer.designable.controls.RotationControls.SWRotationHandle
-
- All Implemented Interfaces:
IHandle
- Enclosing class:
- RotationControls
protected class RotationControls.SWRotationHandle extends RotationControls.AbstractRotationHandle
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.designer.designable.controls.RotationControls.AbstractRotationHandle
hoverPaint, normalPaint
-
Fields inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
drawShape
-
-
Constructor Summary
Constructors Constructor Description SWRotationHandle()
SWRotationHandle(ShapePaint normal, ShapePaint hover)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.Shape
newDrawShape()
Called to create a new draw shape.protected void
position(java.awt.geom.Point2D.Double location)
Updates the argument location with the correct position of this handle's anchor point.-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.controls.RotationControls.AbstractRotationHandle
dragged, getStatusBarText, onDrag, onDragEnd, onDragStart, paintHandle
-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
getBounds, onClick, paintHandle
-
-
-
-
Constructor Detail
-
SWRotationHandle
public SWRotationHandle()
-
SWRotationHandle
public SWRotationHandle(ShapePaint normal, ShapePaint hover)
-
-
Method Detail
-
newDrawShape
protected java.awt.Shape newDrawShape()
Description copied from class:AbstractShapeHandle
Called to create a new draw shape. Expectation is that a subclass will override this to provide a meaningful shape. Anchor point is at (0,0). Default shape is a 10x10 square anchored in the center.- Overrides:
newDrawShape
in classAbstractShapeHandle
-
position
protected void position(java.awt.geom.Point2D.Double location)
Description copied from class:AbstractShapeHandle
Updates the argument location with the correct position of this handle's anchor point. Must be in logical (unzoomed) coordinates.- Specified by:
position
in classAbstractShapeHandle
-
-