Class GradientTool
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
com.inductiveautomation.factorypmi.designer.workspace.tools.GradientTool
- All Implemented Interfaces:
IDesignTool
-
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanisRelevantFor(JComponent component) Gives the tool a chance to create a new selection control object to install handles on the selection.voidCalled 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
-
Constructor Details
-
GradientTool
public GradientTool()
-
-
Method Details
-
newSelectionControl
Description copied from interface:IDesignToolGives 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:
newSelectionControlin interfaceIDesignTool- Overrides:
newSelectionControlin classAbstractDesignTool
-
isRelevantFor
- Overrides:
isRelevantForin classAbstractDesignTool
-
onClick
Description copied from interface:IDesignToolCalled when the user clicks in the design space.- Specified by:
onClickin interfaceIDesignTool- Overrides:
onClickin classAbstractDesignTool- Parameters:
p- The point at which they clicked. Relative to the designable container.modifiers- A bitmask of modifiers. Comes fromInputEvent.getModifiersEx()
-