Class JTreeTool

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

    public class JTreeTool
    extends RBTool
    An inner class to act as RJTreeShape's Tool.
    • Constructor Detail

      • JTreeTool

        public JTreeTool()
        Creates a tree shape tool.
    • Method Detail

      • getShapeClass

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

        public java.lang.String getWindowTitle()
        Returns the string used in the inspector window title.
        Overrides:
        getWindowTitle in class Tool
      • getUI

        public RJPanel getUI()
        Returns the Swing UI panel (loading it the first time).
        Overrides:
        getUI in class Tool
      • getTree

        public javax.swing.JTree getTree()
        Returns the currently selected tree component.
      • resetUI

        public void resetUI()
        Updates the Swing UI controls from the currently selected tree shape.
        Overrides:
        resetUI in class Tool
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Description copied from class: Tool
        Responder callback for the UI associated with this tool.
        Overrides:
        respondUI in class Tool