Class ScaleControls.AbstractResizeHandle
java.lang.Object
com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandle
com.inductiveautomation.ignition.designer.designable.controls.ScaleControls.AbstractResizeHandle
- All Implemented Interfaces:
- IHandle
- Direct Known Subclasses:
- ScaleControls.EResizeHandle,- ScaleControls.NEResizeHandle,- ScaleControls.NResizeHandle,- ScaleControls.NWResizeHandle,- ScaleControls.SEResizeHandle,- ScaleControls.SResizeHandle,- ScaleControls.SWResizeHandle,- ScaleControls.WResizeHandle
- Enclosing class:
- ScaleControls
- 
Field SummaryFieldsFields inherited from class com.inductiveautomation.ignition.designer.designable.controls.AbstractShapeHandledrawShape
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetStatusBarText(int inputMask) Called on mouseover and during drag to get the status bar text for the handle.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(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, newDrawShape, onClick, paintHandle, position
- 
Field Details- 
normalPaint
- 
hoverPaint
 
- 
- 
Constructor Details- 
AbstractResizeHandleprotected AbstractResizeHandle(int side) 
 
- 
- 
Method Details- 
getStatusBarTextDescription 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
 
- 
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().)
 
- 
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().)
 
- 
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().)
 
- 
paintHandleDescription copied from interface:IHandleGives the handle a chance to paint itself on the given graphics object.
 
-