Class JButtonTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
Direct Known Subclasses:
JToggleButtonTool

public class JButtonTool extends RJButtonOrLabelTool
An inner class to act as RJButtonShape's Tool
  • Constructor Details

    • JButtonTool

      public JButtonTool()
      Creates a new button tool.
  • Method Details

    • 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 used for this tool in inspector window title.
      Overrides:
      getWindowTitle in class Tool
    • resetUI

      public void resetUI()
      Updates the Swing GUI panel controls from the currently selected button shape.
      Overrides:
      resetUI in class RJButtonOrLabelTool
    • respondUI

      public void respondUI(Object anObj)
      Updates the currently selected button shape from the Swing GUI panel controls.
      Overrides:
      respondUI in class RJButtonOrLabelTool