Class DocumentTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class DocumentTool extends Tool
This class provides UI for configuring an RMDocument.
  • Constructor Details

    • DocumentTool

      public DocumentTool()
  • Method Details

    • getShapeClass

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

      public String getWindowTitle()
      Returns the name to be show in inspector window.
      Overrides:
      getWindowTitle in class Tool
    • getUI

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

      public void resetUI()
      Resets the Swing controls in the UI from the current document.
      Overrides:
      resetUI in class Tool
    • respondUI

      public void respondUI(Object anObj)
      Responds to Swing controls in UI to update current document.
      Overrides:
      respondUI in class Tool
    • getHandleCount

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