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 TypeMethodDescriptionvoidattach(JComponent panel, GridBagConstraints gbc) booleanvoidsetReadOnly(boolean state) voidsetSelected(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:
setReadOnlyin classSelect
-
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean b)
-