Class NestedDocTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class NestedDocTool extends Tool
This class is responsible for GUI editing of nested document shape.
  • Constructor Details

    • NestedDocTool

      public NestedDocTool()
  • Method Details

    • getUI

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

      public void resetUI()
      Refreshes Swing UI panel controls form the currently selected nested doc.
      Overrides:
      resetUI in class Tool
    • respondUI

      public void respondUI(Object anObj)
      Handles changes from Swing GUI panel controls to currently selected nested doc.
      Overrides:
      respondUI in class Tool
    • getShapeClass

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

      public String getWindowTitle()
      Returns the name to be presented to the user.
      Overrides:
      getWindowTitle in class Tool
    • getHandleCount

      public int getHandleCount(RMShape aShape)
      Overrides tool method to declare that nested docs have no handles.
      Overrides:
      getHandleCount in class Tool
    • getImageIcon

      public ImageIcon getImageIcon()
      Returns the image icon used to represent our shape class.
      Overrides:
      getImageIcon in class Tool