Class BarcodeTool


public class BarcodeTool extends RMTool
Filename: BarcodeTool Author: Perry Arellano-Jones Created on: 7/9/15 Project: ignition_dev_7_8B
  • Constructor Details

    • BarcodeTool

      public BarcodeTool()
  • Method Details

    • acceptsDrag

      public boolean acceptsDrag(RMShape aShape, DropTargetDragEvent anEvent)
      Description copied from class: RMTool
      Inspects what is being dragged and decides whether to allow a drop. Returning false shows a "no drop" cursor and prevents RMTool.drop(T, DropTargetDropEvent) from being called.
      Overrides:
      acceptsDrag in class RMTool
      Parameters:
      aShape - the shape being dragged over
      anEvent - the drag event carrying data flavor information
      Returns:
      true to accept the drag; false to reject it
    • getShapeClass

      public Class getShapeClass()
      Returns the shape class that this tool handles.
      Overrides:
      getShapeClass in class RMTool
    • dropDragKey

      public void dropDragKey(RMShape aShape, DropTargetDropEvent anEvent)
      Overrides:
      dropDragKey in class RMTool