Class GraphBarLabelTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class GraphBarLabelTool extends Tool
  • Constructor Details

    • GraphBarLabelTool

      public GraphBarLabelTool()
  • Method Details

    • getUI

      public RJPanel getUI()
      Returns the Swing UI panel.
      Overrides:
      getUI in class Tool
    • resetUI

      public void resetUI()
      Resets the Swing UI panel from currently selected bar label.
      Overrides:
      resetUI in class Tool
    • respondUI

      public void respondUI(Object anObj)
      Resets currently selected bar label from Swing UI panel controls.
      Overrides:
      respondUI in class Tool
    • getShapeClass

      public Class getShapeClass()
      Returns the shape class for this tool (RMGraph.BarLabel).
      Overrides:
      getShapeClass in class Tool
    • getWindowTitle

      public String getWindowTitle()
      Returns the display name for this tool's inspector.
      Overrides:
      getWindowTitle in class Tool
    • getImageIcon

      public ImageIcon getImageIcon()
      Returns the image icon for bar labels (uses SwitchShapeTool icon).
      Overrides:
      getImageIcon in class Tool
    • mousePressed

      public void mousePressed(RMShape aShape, MouseEvent anEvent)
      Event handler for shape editing (BarLabels).
      Overrides:
      mousePressed in class Tool
    • mouseDragged

      public void mouseDragged(RMShape aShape, MouseEvent anEvent)
      Event handler for shape editing (BarLabels).
      Overrides:
      mouseDragged in class Tool
    • mouseReleased

      public void mouseReleased(RMShape aShape, MouseEvent anEvent)
      Event handler for shape editing (BarLabels).
      Overrides:
      mouseReleased in class Tool