butler.swing.util
Class ValueEditor.BaseImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueEditor.BaseImpl
public ValueEditor.BaseImpl()
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()