Class GradientTool
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
-
- com.inductiveautomation.factorypmi.designer.workspace.tools.GradientTool
-
- All Implemented Interfaces:
IDesignTool
public class GradientTool extends AbstractDesignTool
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.designer.designable.IDesignTool
IDesignTool.ToolbarInitializer
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
actionMap, changeSupport, designable, HANDLES_PROPERTY, inputMap, interactionLayer, panel, workspace
-
-
Constructor Summary
Constructors Constructor Description GradientTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRelevantFor(javax.swing.JComponent component)
ISelectionControl
newSelectionControl()
Gives the tool a chance to create a new selection control object to install handles on the selection.void
onClick(java.awt.Point p, int modifiers)
Called when the user clicks in the design space.-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
addAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, findDropContainer, getAction, getCursor, getDragHighlight, getOffsettingBounds, getOriginalBounds, getStatusBarText, getToolbarInitializer, install, isInstalled, itemMovable, movable, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClickAlterSelection, onDoubleClick, onDrag, onDragEnd, onDragStart, onKeyEvent, onMove, onPopupTrigger, onPress, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener, uninstall
-
-
-
-
Method Detail
-
newSelectionControl
public ISelectionControl newSelectionControl()
Description copied from interface:IDesignTool
Gives the tool a chance to create a new selection control object to install handles on the selection. Called on the active tool when the selection changes or after a tool is first installed.- Specified by:
newSelectionControl
in interfaceIDesignTool
- Overrides:
newSelectionControl
in classAbstractDesignTool
-
isRelevantFor
public boolean isRelevantFor(javax.swing.JComponent component)
- Overrides:
isRelevantFor
in classAbstractDesignTool
-
onClick
public void onClick(java.awt.Point p, int modifiers)
Description copied from interface:IDesignTool
Called when the user clicks in the design space.- Specified by:
onClick
in interfaceIDesignTool
- Overrides:
onClick
in classAbstractDesignTool
- Parameters:
p
- The point at which they clicked. Relative to the designable container.modifiers
- A bitmask of modifiers. Comes fromInputEvent.getModifiersEx()
-
-