Class GraphBarLabelTool

    • Constructor Detail

      • GraphBarLabelTool

        public GraphBarLabelTool()
    • Method Detail

      • 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​(java.lang.Object anObj)
        Resets currently selected bar label from Swing UI panel controls.
        Overrides:
        respondUI in class Tool
      • getShapeClass

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

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

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

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

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

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