Class RJCustomViewTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class RJCustomViewTool extends RBTool
  • Constructor Details

    • RJCustomViewTool

      public RJCustomViewTool()
      Create new custom view tool.
  • Method Details

    • getWindowTitle

      public String getWindowTitle()
      Returns the string used for the inspector window title.
      Overrides:
      getWindowTitle in class Tool
    • getShapeClass

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

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

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

      public void respondUI(Object anObj)
      Updates the currently selected custom view shape from the Swing UI controls.
      Overrides:
      respondUI in class Tool