public class BooleanEnumControl extends BaseModifiableControl<javax.swing.JCheckBox,java.lang.String>
Disposable.Parent
ERROR_BACKGROUND, ERROR_FOREGROUND, WARNING_BACKGROUND
Constructor and Description |
---|
BooleanEnumControl(DomWrapper<java.lang.String> domWrapper,
java.lang.Class<? extends java.lang.Enum> enumClass,
boolean invertedOrder) |
BooleanEnumControl(DomWrapper<java.lang.String> domWrapper,
java.lang.String selectedValue,
java.lang.String unselectedValue) |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JCheckBox |
createMainComponent(javax.swing.JCheckBox boundComponent) |
protected java.lang.String |
getValue() |
protected void |
setValue(java.lang.String 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 BooleanEnumControl(DomWrapper<java.lang.String> domWrapper, java.lang.String selectedValue, java.lang.String unselectedValue)
public BooleanEnumControl(DomWrapper<java.lang.String> domWrapper, java.lang.Class<? extends java.lang.Enum> enumClass, boolean invertedOrder)
protected javax.swing.JCheckBox createMainComponent(javax.swing.JCheckBox boundComponent)
createMainComponent
in class BaseControl<javax.swing.JCheckBox,java.lang.String>
protected java.lang.String getValue()
getValue
in class BaseControl<javax.swing.JCheckBox,java.lang.String>
protected void setValue(java.lang.String value)
setValue
in class BaseControl<javax.swing.JCheckBox,java.lang.String>