Class JTreeTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

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

    • JTreeTool

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

    • getShapeClass

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

      public 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 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(Object anObj)
      Description copied from class: Tool
      Responder callback for the UI associated with this tool.
      Overrides:
      respondUI in class Tool