Class ScaleControls.SWResizeHandle
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
-
- com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.AbstractResizeHandle
-
- com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.SWResizeHandle
-
- All Implemented Interfaces:
IHandle
- Enclosing class:
- ScaleControls
protected class ScaleControls.SWResizeHandle extends ScaleControls.AbstractResizeHandle
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.AbstractResizeHandle
hoverPaint, normalPaint
-
Fields inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
drawShape
-
-
Constructor Summary
Constructors Constructor Description SWResizeHandle()
-
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.protected void
resizeAnchor(java.awt.geom.Point2D.Double location)
-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.AbstractResizeHandle
getStatusBarText, onDrag, onDragEnd, onDragStart, paintHandle
-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
getBounds, onClick, paintHandle
-
-
-
-
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
-
resizeAnchor
protected void resizeAnchor(java.awt.geom.Point2D.Double location)
-
-