Class JSCheckBox


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

      • JSCheckBox

        public JSCheckBox()
        Creates the object
    • Method Detail

      • setText

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

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

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

        public boolean isSelected()
        Clone of javax.swing.JCheckBox.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