butler.swing.util
Class ValueEditor.BaseImpl

java.lang.Object
  extended by butler.swing.util.ValueEditor.BaseImpl
All Implemented Interfaces:
ValueEditor
Direct Known Subclasses:
CheckBoxBooleanEditor, CodeSwingEditor, ComboEnumEditor, DateEditor, ImageEditor, IntervalEditor, RadioBooleanEditor, StringEditor, TextEditor
Enclosing interface:
ValueEditor

public abstract static class ValueEditor.BaseImpl
extends java.lang.Object
implements ValueEditor


Nested Class Summary
protected  class ValueEditor.BaseImpl.ThisChangeListener
           
protected  class ValueEditor.BaseImpl.ThisFocusListener
           
protected  class ValueEditor.BaseImpl.ThisKeyListener
           
 
Nested classes/interfaces inherited from interface butler.swing.util.ValueEditor
ValueEditor.BaseImpl
 
Constructor Summary
ValueEditor.BaseImpl()
           
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener listener)
           
protected  void fireStateChanged()
           
protected  Datatype getDatatype()
           
 boolean isDirty()
           
protected  boolean isNullable()
           
 void setCaption(java.lang.String caption)
           
 void setDatatype(Datatype dt)
           
protected  void setEdited(boolean flag)
           
 void setNullable(boolean flag)
           
 void setValidator(butler.util.ValueValidator validator)
           
 void setValue(java.lang.Object value)
           
protected  void setValue0(java.lang.Object value)
           
protected  void validate(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface butler.swing.util.ValueEditor
getComponent, getValue
 

Constructor Detail

ValueEditor.BaseImpl

public ValueEditor.BaseImpl()
Method Detail

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener listener)
Specified by:
addChangeListener in interface ValueEditor

setValue

public void setValue(java.lang.Object value)
              throws java.lang.Exception
Specified by:
setValue in interface ValueEditor
Throws:
java.lang.Exception

setValue0

protected void setValue0(java.lang.Object value)
                  throws java.lang.Exception
Throws:
java.lang.Exception

setNullable

public void setNullable(boolean flag)
Specified by:
setNullable in interface ValueEditor

isNullable

protected boolean isNullable()

setEdited

protected void setEdited(boolean flag)

fireStateChanged

protected void fireStateChanged()

isDirty

public boolean isDirty()

validate

protected void validate(java.lang.Object value)
                 throws java.lang.Exception
Throws:
java.lang.Exception

setValidator

public void setValidator(butler.util.ValueValidator validator)
Specified by:
setValidator in interface ValueEditor

setCaption

public void setCaption(java.lang.String caption)
                throws java.lang.Exception
Specified by:
setCaption in interface ValueEditor
Throws:
java.lang.Exception

setDatatype

public void setDatatype(Datatype dt)
                 throws java.lang.Exception
Specified by:
setDatatype in interface ValueEditor
Throws:
java.lang.Exception

getDatatype

protected Datatype getDatatype()