Class SelectBoolean
java.lang.Object
com.marginallyclever.donatello.select.Select
com.marginallyclever.donatello.select.SelectBoolean
A JCheckBox that sets itself up to format true/false.
- Since:
- 7.24.0
- Author:
- Dan Royer
-
Constructor Summary
ConstructorsConstructorDescriptionSelectBoolean
(String internalName, String labelKey, boolean defaultValue) Create a new SelectBoolean -
Method Summary
Modifier and TypeMethodDescriptionvoid
attach
(JComponent panel, GridBagConstraints gbc) boolean
void
setReadOnly
(boolean state) void
setSelected
(boolean b) Methods inherited from class com.marginallyclever.donatello.select.Select
addSelectListener, getName, removeSelectListener, setName
-
Constructor Details
-
SelectBoolean
-
-
Method Details
-
attach
-
setReadOnly
public void setReadOnly(boolean state) - Specified by:
setReadOnly
in classSelect
-
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean b)
-