Class LineTool
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
- 
- com.inductiveautomation.factorypmi.designer.workspace.tools.LineTool
 
 
- 
- All Implemented Interfaces:
- IDesignTool
 
 public class LineTool extends AbstractDesignTool 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.designer.designable.IDesignToolIDesignTool.ToolbarInitializer
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignToolactionMap, changeSupport, designable, HANDLES_PROPERTY, inputMap, interactionLayer, panel, workspace
 
- 
 - 
Constructor SummaryConstructors Constructor Description LineTool()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.CursorgetCursor(java.awt.Point point, int inputEventMask)The cursor to use given the current event mask, which can be used to detect what keys are being held downjava.lang.StringgetStatusBarText(java.util.List<javax.swing.JComponent> selection, java.awt.Point point, int inputMask)Calculates the currently applicable status bar text for this toolIDesignTool.ToolbarInitializergetToolbarInitializer()booleanisRelevantFor(javax.swing.JComponent component)voidonMove(java.awt.Point move, int modifiers)voidonPress(java.awt.Point point, int modifiers)Called when the user presses the mouse in the design space.voiduninstall()Uninstalls the tool.- 
Methods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTooladdAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, findDropContainer, getAction, getDragHighlight, getOffsettingBounds, getOriginalBounds, install, isInstalled, itemMovable, movable, newSelectionControl, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClick, onClickAlterSelection, onDoubleClick, onDrag, onDragEnd, onDragStart, onKeyEvent, onPopupTrigger, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener
 
- 
 
- 
- 
- 
Method Detail- 
getCursorpublic java.awt.Cursor getCursor(java.awt.Point point, int inputEventMask)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 interface- IDesignTool
- Overrides:
- getCursorin class- AbstractDesignTool
 
 - 
getStatusBarTextpublic java.lang.String getStatusBarText(java.util.List<javax.swing.JComponent> selection, java.awt.Point point, int inputMask)Description copied from interface:IDesignToolCalculates the currently applicable status bar text for this tool- Specified by:
- getStatusBarTextin interface- IDesignTool
- Overrides:
- getStatusBarTextin class- AbstractDesignTool
 
 - 
getToolbarInitializerpublic IDesignTool.ToolbarInitializer getToolbarInitializer() - Specified by:
- getToolbarInitializerin interface- IDesignTool
- Overrides:
- getToolbarInitializerin class- AbstractDesignTool
 
 - 
isRelevantForpublic boolean isRelevantFor(javax.swing.JComponent component) - Overrides:
- isRelevantForin class- AbstractDesignTool
 
 - 
uninstallpublic void uninstall() Description copied from interface:IDesignToolUninstalls the tool.- Specified by:
- uninstallin interface- IDesignTool
- Overrides:
- uninstallin class- AbstractDesignTool
 
 - 
onPresspublic void onPress(java.awt.Point point, int modifiers)Description copied from interface:IDesignToolCalled when the user presses the mouse in the design space.- Specified by:
- onPressin interface- IDesignTool
- Overrides:
- onPressin class- AbstractDesignTool
- Parameters:
- point- The point at which they pressed. Relative to the designable container.
- modifiers- A bitmask of modifiers. Comes from- InputEvent.getModifiersEx()
 
 - 
onMovepublic void onMove(java.awt.Point move, int modifiers)- Specified by:
- onMovein interface- IDesignTool
- Overrides:
- onMovein class- AbstractDesignTool
 
 
- 
 
-