Class RotationControls.RotationAnchorHandle
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
- 
- com.inductiveautomation.ignition.designer.designable.controls.RotationControls.RotationAnchorHandle
 
 
- 
- All Implemented Interfaces:
- IHandle
 - Enclosing class:
- RotationControls
 
 protected class RotationControls.RotationAnchorHandle extends AbstractShapeHandle 
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandledrawShape
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetStatusBarText(int inputMask)Called on mouseover and during drag to get the status bar text for the handle.protected java.awt.ShapenewDrawShape()Called to create a new draw shape.voidonDrag(double dX, double dY, int inputMask)Called while the handle is being dragged.voidonDragEnd(double dX, double dY, int inputMask)The drag event is complete (mouse has been released).voidonDragStart(double dX, double dY, int inputMask)The handle has started to be dragged.voidpaintHandle(java.awt.Graphics2D g, boolean mouseOver, boolean drag)Gives the handle a chance to paint itself on the given graphics object.protected voidposition(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.AbstractShapeHandlegetBounds, onClick, paintHandle
 
- 
 
- 
- 
- 
Method Detail- 
getStatusBarTextpublic java.lang.String getStatusBarText(int inputMask) Description copied from interface:IHandleCalled on mouseover and during drag to get the status bar text for the handle.- Specified by:
- getStatusBarTextin interface- IHandle
- Overrides:
- getStatusBarTextin class- AbstractShapeHandle
 
 - 
newDrawShapeprotected java.awt.Shape newDrawShape() Description copied from class:AbstractShapeHandleCalled 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:
- newDrawShapein class- AbstractShapeHandle
 
 - 
paintHandlepublic void paintHandle(java.awt.Graphics2D g, boolean mouseOver, boolean drag)Description copied from interface:IHandleGives the handle a chance to paint itself on the given graphics object.
 - 
positionprotected void position(java.awt.geom.Point2D.Double location) Description copied from class:AbstractShapeHandleUpdates the argument location with the correct position of this handle's anchor point. Must be in logical (unzoomed) coordinates.- Specified by:
- positionin class- AbstractShapeHandle
 
 - 
onDragStartpublic void onDragStart(double dX, double dY, int inputMask)Description copied from interface:IHandleThe handle has started to be dragged.- Specified by:
- onDragStartin interface- IHandle
- Overrides:
- onDragStartin class- AbstractShapeHandle
- Parameters:
- dX- The distance along the horizontal axis away from the drag starting point. (Unzoomed, logical)
- dY- The distance along the vertical axis away from the drag starting point. (Unzoomed, logical)
- inputMask- The extended modifiers from the underlying mouse drag (see- MouseEvent.getModifiersEx().)
 
 - 
onDragEndpublic void onDragEnd(double dX, double dY, int inputMask)Description copied from interface:IHandleThe drag event is complete (mouse has been released).- Specified by:
- onDragEndin interface- IHandle
- Overrides:
- onDragEndin class- AbstractShapeHandle
- Parameters:
- dX- The distance along the horizontal axis away from the drag starting point. (Unzoomed, logical)
- dY- The distance along the vertical axis away from the drag starting point. (Unzoomed, logical)
- inputMask- The extended modifiers from the underlying mouse drag (see- MouseEvent.getModifiersEx().)
 
 - 
onDragpublic void onDrag(double dX, double dY, int inputMask)Description copied from interface:IHandleCalled while the handle is being dragged.- Specified by:
- onDragin interface- IHandle
- Overrides:
- onDragin class- AbstractShapeHandle
- Parameters:
- dX- The distance along the horizontal axis away from the drag starting point. (Unzoomed, logical)
- dY- The distance along the vertical axis away from the drag starting point. (Unzoomed, logical)
- inputMask- The extended modifiers from the underlying mouse drag (see- MouseEvent.getModifiersEx().)
 
 
- 
 
-