Class JSRadioButton


  • public class JSRadioButton
    extends AbstractButton
    The javax.swing.JRadioButton clone
    Author:
    gianpiero.diblasi
    • Constructor Detail

      • JSRadioButton

        public JSRadioButton()
        Creates the object
    • Method Detail

      • setToggle

        public void setToggle()
        Set this radiobutton as a toggle
      • setText

        public void setText​(java.lang.String text)
        Clone of javax.swing.JRadioButton.setText
        Parameters:
        text - The text
      • getText

        public java.lang.String getText()
        Clone of javax.swing.JRadioButton.getText
        Returns:
        The text
      • setSelected

        public void setSelected​(boolean selected)
        Clone of javax.swing.JRadioButton.setSelected
        Parameters:
        selected - true to select, false otherwise
      • isSelected

        public boolean isSelected()
        Clone of javax.swing.JRadioButton.isSelected
        Returns:
        true if selected, false otherwise
      • setEnabled

        public void setEnabled​(boolean b)
        Description copied from class: JSComponent
        Clone of javax.swing.JComponent.setEnabled
        Overrides:
        setEnabled in class JSComponent
        Parameters:
        b - true to enable the button, false otherwise
      • setContentAreaFilled

        public void setContentAreaFilled​(boolean b)
        Clone of javax.swing.JRadioButton.setContentAreaFilled
        Parameters:
        b - true to fill the area, false otherwise