butler.swing.util
Class CheckBoxBooleanEditor

java.lang.Object
  extended by butler.swing.util.ValueEditor.BaseImpl
      extended by butler.swing.util.CheckBoxBooleanEditor
All Implemented Interfaces:
ValueEditor

public class CheckBoxBooleanEditor
extends ValueEditor.BaseImpl

Editor for boolean values using a checkbox.

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes/interfaces inherited from class butler.swing.util.ValueEditor.BaseImpl
ValueEditor.BaseImpl.ThisFocusListener, ValueEditor.BaseImpl.ThisKeyListener
 
Nested classes/interfaces inherited from interface butler.swing.util.ValueEditor
ValueEditor.BaseImpl
 
Constructor Summary
CheckBoxBooleanEditor()
           
CheckBoxBooleanEditor(boolean editable)
           
CheckBoxBooleanEditor(boolean editable, java.lang.String caption)
           
 
Method Summary
 javax.swing.JComponent getComponent()
           
 java.lang.Object getValue()
           
 void setCaption(java.lang.String caption)
           
 void setValue(java.lang.Object value)
           
 
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
 

Constructor Detail

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
Method Detail

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