Class BarcodeTool
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.tool.RMTool
com.inductiveautomation.rm.shape.j2dshapes.BarcodeTool
Filename: BarcodeTool Author: Perry Arellano-Jones Created on: 7/9/15 Project: ignition_dev_7_8B
-
Nested Class Summary
Nested classes/interfaces inherited from class RMTool
RMTool.RMShapeHandle -
Field Summary
Fields inherited from class RMTool
HandleE, HandleN, HandleNE, HandleNW, HandleS, HandleSE, HandleSW, HandleW, HandleWidth, SPLIT_RESETFields inherited from class UIOwner
DragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsDrag(RMShape aShape, DropTargetDragEvent anEvent) Inspects what is being dragged and decides whether to allow a drop.voiddropDragKey(RMShape aShape, DropTargetDropEvent anEvent) Returns the shape class that this tool handles.Methods inherited from class RMTool
activateTool, attachEventBus, createUI, deactivateTool, didBecomeSuperSelectedShapeInEditor, dragEnter, dragExit, dragOver, drop, dropClass, dropColor, dropFiles, dropString, flavorForClass, flushChanges, getAcceptsChildren, getBoundsSuperSelected, getDatasetEntity, getDragDisplayBounds, getEditor, getEditorPane, getFont, getFontDeep, getGalleryClone, getHandleAtPoint, getHandleCount, getHandleCursor, getHandleOpposing, getHandlePoint, getHandleRect, getIcon, getIcon, getPointsFromUnits, getSelectedShape, getSelectedShapes, getSelectTool, getShapeFillInspector, getShapeHandleAtPoint, getTool, getTool, getToolTipText, getUnitsFromPoints, getWindowTitle, isSelected, isSuperSelectable, isSuperSelected, isUngroupable, mouseDragged, mouseDragged, mouseMoved, mouseMoved, mousePressed, mousePressed, mousePressedSelection, mouseReleased, mouseReleased, moveShapeHandle, newInstance, paintShapeHandles, paintTool, processKeyEvent, reactivateTool, setFont, setFontBold, setFontBoldDeep, setFontFamily, setFontFamilyDeep, setFontItalic, setFontItalicDeep, setFontName, setFontNameDeep, setFontSize, setFontSizeDeep, willLoseSuperSelectionInEditorMethods inherited from class SwingOwner
addKeyActionEvent, createTimer, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisibleMethods inherited from class UIOwner
addNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, resetUI, respondUI, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
-
Constructor Details
-
BarcodeTool
public BarcodeTool()
-
-
Method Details
-
acceptsDrag
Description copied from class:RMToolInspects what is being dragged and decides whether to allow a drop. Returningfalseshows a "no drop" cursor and preventsRMTool.drop(T, DropTargetDropEvent)from being called.- Overrides:
acceptsDragin classRMTool- Parameters:
aShape- the shape being dragged overanEvent- the drag event carrying data flavor information- Returns:
trueto accept the drag;falseto reject it
-
getShapeClass
Returns the shape class that this tool handles.- Overrides:
getShapeClassin classRMTool
-
dropDragKey
- Overrides:
dropDragKeyin classRMTool
-