Class NestedDocTool

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

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

      • NestedDocTool

        public NestedDocTool()
    • Method Detail

      • 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​(java.lang.Object anObj)
        Handles changes from Swing GUI panel controls to currently selected nested doc.
        Overrides:
        respondUI in class Tool
      • getShapeClass

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

        public java.lang.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 javax.swing.ImageIcon getImageIcon()
        Returns the image icon used to represent our shape class.
        Overrides:
        getImageIcon in class Tool