Class ScaleControls.SResizeHandle
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.SResizeHandle
- All Implemented Interfaces:
IHandle
- Enclosing class:
- ScaleControls
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.AbstractResizeHandle
hoverPaint, normalPaintFields inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
drawShape -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ShapeCalled to create a new draw shape.protected voidposition(Point2D.Double location) Updates the argument location with the correct position of this handle's anchor point.protected voidresizeAnchor(Point2D.Double location) Methods inherited from class com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.AbstractResizeHandle
getStatusBarText, onDrag, onDragEnd, onDragStart, paintHandleMethods inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
getBounds, onClick, paintHandle
-
Constructor Details
-
SResizeHandle
public SResizeHandle() -
SResizeHandle
-
-
Method Details
-
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 classAbstractShapeHandle
-
position
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 classAbstractShapeHandle
-
resizeAnchor
-