Class EyedropperTool
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
com.inductiveautomation.factorypmi.designer.workspace.tools.EyedropperTool
- 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 TypeMethodDescriptionThe cursor to use given the current event mask, which can be used to detect what keys are being held downgetStatusBarText(List<JComponent> selection, Point point, int inputMask) Calculates the currently applicable status bar text for this toolbooleanisRelevantFor(JComponent component) voidCalled when the user presses the mouse in the design space.Methods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
addAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, findDropContainer, getAction, getDragHighlight, getOffsettingBounds, getOriginalBounds, getToolbarInitializer, install, isInstalled, itemMovable, movable, newSelectionControl, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClick, onClickAlterSelection, onDoubleClick, onDrag, onDragEnd, onDragStart, onKeyEvent, onMove, onPopupTrigger, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener, uninstall
-
Constructor Details
-
EyedropperTool
public EyedropperTool()
-
-
Method Details
-
getStatusBarText
Description copied from interface:IDesignToolCalculates the currently applicable status bar text for this tool- Specified by:
getStatusBarTextin interfaceIDesignTool- Overrides:
getStatusBarTextin classAbstractDesignTool
-
isRelevantFor
- Overrides:
isRelevantForin classAbstractDesignTool
-
onPress
Description copied from interface:IDesignToolCalled when the user presses the mouse in the design space.- Specified by:
onPressin interfaceIDesignTool- Overrides:
onPressin classAbstractDesignTool- Parameters:
p- The point at which they pressed. Relative to the designable container.modifiers- A bitmask of modifiers. Comes fromInputEvent.getModifiersEx()
-
getCursor
Description copied from interface:IDesignToolThe cursor to use given the current event mask, which can be used to detect what keys are being held down- Specified by:
getCursorin interfaceIDesignTool- Overrides:
getCursorin classAbstractDesignTool
-