Class JRadioButtonTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

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

    • JRadioButtonTool

      public JRadioButtonTool()
      Creates a new radio button shape tool.
  • Method Details

    • getShapeClass

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

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

      public RJPanel getUI()
      Returns the Swing UI (loading it the first time).
      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
    • resetSelectionAndGroup

      public void resetSelectionAndGroup(AbstractButton button, AbstractButtonHpr buttonHelper)
    • respondSelectionAndGroup

      public void respondSelectionAndGroup(Object anObj, JRadioButtonShape buttonShape)