Class AbstractShapeTool.AbstractShapeControls.AbstractShapeManipulationHandle
java.lang.Object
com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool.AbstractShapeControls.AbstractShapeManipulationHandle
- All Implemented Interfaces:
IHandle
- Enclosing class:
- AbstractShapeTool.AbstractShapeControls
protected abstract class AbstractShapeTool.AbstractShapeControls.AbstractShapeManipulationHandle
extends AbstractShapeHandle
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
drawShape
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
adjustRelative
(Point2D.Double location) Adjust a point in 2d space relative to the interaction layer to be relative to the shape's parentprotected void
protected Shape
Called to create a new draw shape.void
paintHandle
(Graphics2D g, boolean mouseOver, boolean drag) Gives the handle a chance to paint itself on the given graphics object.Methods inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
getBounds, getStatusBarText, onClick, onDrag, onDragEnd, onDragStart, paintHandle, position
-
Field Details
-
normalPaint
-
hoverPaint
-
parentRect
-
-
Constructor Details
-
AbstractShapeManipulationHandle
protected AbstractShapeManipulationHandle()
-
-
Method Details
-
initPaints
protected void initPaints() -
paintHandle
Description copied from interface:IHandle
Gives the handle a chance to paint itself on the given graphics object. -
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
-
adjustRelative
Adjust a point in 2d space relative to the interaction layer to be relative to the shape's parent
-