Class GraphTool.GraphContentTool

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable
    Enclosing class:
    GraphTool

    public static class GraphTool.GraphContentTool
    extends Tool
    This class provides RMEditor inspector support for RMGraph.
    • Constructor Detail

      • GraphContentTool

        public GraphContentTool()
    • Method Detail

      • getShapeClass

        public java.lang.Class getShapeClass()
        Returns the class this tool edits.
        Overrides:
        getShapeClass in class Tool
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the display name for the inspector.
        Overrides:
        getWindowTitle in class Tool
      • getUI

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

        public void resetUI()
        Called by Ribs to reset inspector UI.
        Overrides:
        resetUI in class Tool
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Called by Ribs to respond to inspector UI.
        Overrides:
        respondUI in class Tool
      • mousePressed

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

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

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