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 SummaryFields Modifier and Type Field Description protected ShapePainthoverPaintprotected ShapePaintnormalPaintprotected java.awt.geom.Rectangle2DparentRect- 
Fields inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandledrawShape
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractShapeManipulationHandle()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadjustRelative(java.awt.geom.Point2D.Double location)Adjust a point in 2d space relative to the interaction layer to be relative to the shape's parentprotected voidinitPaints()protected java.awt.ShapenewDrawShape()Called to create a new draw shape.voidpaintHandle(java.awt.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.AbstractShapeHandlegetBounds, getStatusBarText, onClick, onDrag, onDragEnd, onDragStart, paintHandle, position
 
- 
 
- 
- 
- 
Field Detail- 
normalPaintprotected ShapePaint normalPaint 
 - 
hoverPaintprotected ShapePaint hoverPaint 
 - 
parentRectprotected java.awt.geom.Rectangle2D parentRect 
 
- 
 - 
Method Detail- 
initPaintsprotected void initPaints() 
 - 
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.
 - 
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
 
 - 
adjustRelativeprotected void adjustRelative(java.awt.geom.Point2D.Double location) Adjust a point in 2d space relative to the interaction layer to be relative to the shape's parent
 
- 
 
-