Class JCheckBoxTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class JCheckBoxTool extends RJTextTool
Provides an inspector for JCheckBoxShape.
  • Constructor Details

    • JCheckBoxTool

      public JCheckBoxTool()
      Creates a new checkbox tool.
  • Method Details

    • getShapeClass

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

      public String getWindowTitle()
      Returns the name used to represent this tool in the inspector window title.
      Overrides:
      getWindowTitle in class Tool
    • getUI

      public RJPanel getUI()
      Returns the Swing GUI panel for this tool.
      Overrides:
      getUI in class Tool
    • resetUI

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

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