public class CheckBoxControl extends java.lang.Object implements GUIControl
| Constructor and Description |
|---|
CheckBoxControl() |
CheckBoxControl(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkboxModified()
Subclasses should override this to take action whenever the checkbox
changes state.
|
javax.swing.JCheckBox |
getCheckBox() |
javax.swing.JComponent |
getGUI() |
java.lang.String |
getText() |
boolean |
isChecked() |
void |
setChecked(boolean shouldI) |
void |
setText(java.lang.String newText) |
public CheckBoxControl()
public CheckBoxControl(java.lang.String text)
public java.lang.String getText()
public void setText(java.lang.String newText)
public boolean isChecked()
public void setChecked(boolean shouldI)
public javax.swing.JCheckBox getCheckBox()
public javax.swing.JComponent getGUI()
getGUI in interface GUIControlpublic void checkboxModified()