Class JSeparatorTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class JSeparatorTool extends RBTool
  • Constructor Details

    • JSeparatorTool

      public JSeparatorTool()
      Creates a new separator tool.
  • Method Details

    • getShapeClass

      public Class getShapeClass()
      Returns the separator tool's class.
      Overrides:
      getShapeClass in class Tool
    • getWindowTitle

      public String getWindowTitle()
      Returns the name for the inspector window title bar.
      Overrides:
      getWindowTitle in class Tool
    • getUI

      public RJPanel getUI()
      Returns the Swing UI panel (loading if needed).
      Overrides:
      getUI in class Tool
    • resetUI

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

      public void respondUI(Object anObj)
      Updates the currently selected radio button shape from the Swing UI.
      Overrides:
      respondUI in class Tool
    • getHandleCount

      public int getHandleCount(RMShape aShape)
      Editor method (returns the number of handles).
      Overrides:
      getHandleCount in class RBTool
    • getHandlePoint

      public RMPoint getHandlePoint(RMShape aShape, int i, boolean iss)
      Editor method.
      Overrides:
      getHandlePoint in class Tool
    • moveShapeHandle

      public void moveShapeHandle(RMShape aShape, int i, RMPoint toPoint)
      Editor method.
      Overrides:
      moveShapeHandle in class Tool