butler.swing.util
Class CheckBoxBooleanEditor
java.lang.Object
butler.swing.util.ValueEditor.BaseImpl
butler.swing.util.CheckBoxBooleanEditor
- All Implemented Interfaces:
- ValueEditor
public class CheckBoxBooleanEditor
- extends ValueEditor.BaseImpl
Editor for boolean values using a checkbox.
- Author:
- Fredrik Bertilsson
Methods inherited from class butler.swing.util.ValueEditor.BaseImpl |
addChangeListener, fireStateChanged, getDatatype, isDirty, isNullable, setDatatype, setEdited, setNullable, setValidator, setValue0, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckBoxBooleanEditor
public CheckBoxBooleanEditor()
throws java.lang.Exception
- Throws:
java.lang.Exception
CheckBoxBooleanEditor
public CheckBoxBooleanEditor(boolean editable)
throws java.lang.Exception
- Throws:
java.lang.Exception
CheckBoxBooleanEditor
public CheckBoxBooleanEditor(boolean editable,
java.lang.String caption)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValue
public java.lang.Object getValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
setValue
public void setValue(java.lang.Object value)
throws java.lang.Exception
- Specified by:
setValue
in interface ValueEditor
- Overrides:
setValue
in class ValueEditor.BaseImpl
- Throws:
java.lang.Exception
getComponent
public javax.swing.JComponent getComponent()
setCaption
public void setCaption(java.lang.String caption)
- Specified by:
setCaption
in interface ValueEditor
- Overrides:
setCaption
in class ValueEditor.BaseImpl