Class PolygonTool
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTool
com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeTool
com.inductiveautomation.factorypmi.designer.workspace.tools.PolygonTool
- All Implemented Interfaces:
- IDesignTool
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeToolAbstractShapeTool.AbstractShapeControlsNested classes/interfaces inherited from interface com.inductiveautomation.ignition.designer.designable.IDesignToolIDesignTool.ToolbarInitializer
- 
Field SummaryFields inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeToolcursorFields inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignToolactionMap, changeSupport, designable, HANDLES_PROPERTY, inputMap, interactionLayer, panel, workspace
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Cursorprotected voidprotected Class<? extends ShapeDelegate>protected StringgetStatusBarText(List<JComponent> selection, Point point, int inputMask) Calculates the currently applicable status bar text for this toolprotected voidprotected ISelectionControlprotected ShapeDelegatenewShapeDelegate(Rectangle2D rect) voidCalled while the user is dragging.voidCalled when the user stops dragging.voidonDragStart(Point startZoomed, Point lastZoomed, Rectangle r, int modifiers) Called when the user start's dragging while this tool is active.protected voidupdateToolbar(PathBasedVisionShape component) Methods inherited from class com.inductiveautomation.factorypmi.designer.workspace.tools.AbstractShapeToolgetCursor, getShape, handlesShape, install, isRelevantFor, newSelectionControl, onClick, onPress, tt, uninstall, updateToolbar, validSelectionMethods inherited from class com.inductiveautomation.ignition.designer.designable.tools.AbstractDesignTooladdAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, findDropContainer, getAction, getDragHighlight, getOffsettingBounds, getOriginalBounds, isInstalled, itemMovable, movable, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClickAlterSelection, onDoubleClick, onKeyEvent, onMove, onPopupTrigger, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener
- 
Constructor Details- 
PolygonToolpublic PolygonTool()
 
- 
- 
Method Details- 
initActionsprotected void initActions()
- 
getToolbarInitializer- Specified by:
- getToolbarInitializerin interface- IDesignTool
- Overrides:
- getToolbarInitializerin class- AbstractDesignTool
 
- 
disableToolbarprotected void disableToolbar()- Overrides:
- disableToolbarin class- AbstractShapeTool
 
- 
updateToolbar- Overrides:
- updateToolbarin class- AbstractShapeTool
 
- 
createCursor- Specified by:
- createCursorin class- AbstractShapeTool
 
- 
getStatusBarTextDescription copied from interface:IDesignToolCalculates the currently applicable status bar text for this tool- Specified by:
- getStatusBarTextin interface- IDesignTool
- Overrides:
- getStatusBarTextin class- AbstractDesignTool
 
- 
newShapeControl- Specified by:
- newShapeControlin class- AbstractShapeTool
 
- 
getDelegateType- Specified by:
- getDelegateTypein class- AbstractShapeTool
 
- 
newShapeDelegate- Specified by:
- newShapeDelegatein class- AbstractShapeTool
 
- 
getNewShapeName- Specified by:
- getNewShapeNamein class- AbstractShapeTool
 
- 
onDragStartDescription copied from class:AbstractDesignToolCalled when the user start's dragging while this tool is active. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
- onDragStartin interface- IDesignTool
- Overrides:
- onDragStartin class- AbstractShapeTool
 
- 
onDragDescription copied from class:AbstractDesignToolCalled while the user is dragging. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
- onDragin interface- IDesignTool
- Overrides:
- onDragin class- AbstractShapeTool
 
- 
onDragEndDescription copied from class:AbstractDesignToolCalled when the user stops dragging. All coordinates are relative to the interaction panel and are in zoomed space.- Specified by:
- onDragEndin interface- IDesignTool
- Overrides:
- onDragEndin class- AbstractShapeTool
 
 
-