Class JRadioButtonTool


public class JRadioButtonTool extends AbstractButtonTool
An inner class to act as RJRadioButtonShape's Tool.
  • Constructor Details

    • JRadioButtonTool

      public JRadioButtonTool()
  • Method Details

    • createUI

      protected JComponent createUI()
      Override to add JButtonTool UI to LabeledTool UI.
      Overrides:
      createUI in class RMTool
    • resetUI

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

      public void respondUI(SwingEvent anEvent)
      Updates the currently selected radio button shape from the UI.
      Overrides:
      respondUI in class LabeledTool
    • getShapeClass

      public Class getShapeClass()
      Returns the class that this inspector is responsible for.
      Overrides:
      getShapeClass in class RMParentShapeTool
    • getWindowTitle

      public String getWindowTitle()
      Returns the name to be used in the inspector window title.
      Overrides:
      getWindowTitle in class RMParentShapeTool