public class BooleanControl extends BaseModifiableControl<javax.swing.JCheckBox,java.lang.Boolean>
Disposable.Parent
ERROR_BACKGROUND, ERROR_FOREGROUND, WARNING_BACKGROUND
Constructor and Description |
---|
BooleanControl(DomWrapper<java.lang.Boolean> domWrapper) |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JCheckBox |
createMainComponent(javax.swing.JCheckBox boundComponent) |
protected java.lang.Boolean |
getValue() |
protected void |
setValue(java.lang.Boolean value) |
doCommit, isCommitted, setModified
addCommitListener, bind, canNavigate, commit, dispose, doReset, getComponent, getComponentToListenFocusLost, getDefaultBackground, getDefaultForeground, getDomElement, getDomWrapper, getErrorBackground, getErrorForeground, getHighlightedComponent, getProject, getWarningBackground, isValid, navigate, removeCommitListener, reset, updateComponent, updateHighlighting
addDependency
public BooleanControl(DomWrapper<java.lang.Boolean> domWrapper)
protected javax.swing.JCheckBox createMainComponent(javax.swing.JCheckBox boundComponent)
createMainComponent
in class BaseControl<javax.swing.JCheckBox,java.lang.Boolean>
protected java.lang.Boolean getValue()
getValue
in class BaseControl<javax.swing.JCheckBox,java.lang.Boolean>
protected void setValue(java.lang.Boolean value)
setValue
in class BaseControl<javax.swing.JCheckBox,java.lang.Boolean>