butler.swing.util
Interface ValueEditor
- All Known Implementing Classes:
- CheckBoxBooleanEditor, CodeSwingEditor, ComboEnumEditor, DateEditor, ImageEditor, IntervalEditor, NumericEditor, RadioBooleanEditor, StringEditor, SwingDateChooser, SwingMonthChooser, TextEditor, ValueEditor.BaseImpl
public interface ValueEditor
Interface that all value editors have to implement.
- Author:
- Fredrik Bertilsson
setValue
void setValue(java.lang.Object value)
throws java.lang.Exception
- Throws:
java.lang.Exception
getValue
java.lang.Object getValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
addChangeListener
void addChangeListener(javax.swing.event.ChangeListener listener)
getComponent
javax.swing.JComponent getComponent()
throws java.lang.Exception
- Throws:
java.lang.Exception
setNullable
void setNullable(boolean flag)
throws java.lang.Exception
- Throws:
java.lang.Exception
setValidator
void setValidator(butler.util.ValueValidator validator)
throws java.lang.Exception
- Throws:
java.lang.Exception
setCaption
void setCaption(java.lang.String caption)
throws java.lang.Exception
- Throws:
java.lang.Exception
setDatatype
void setDatatype(Datatype dt)
throws java.lang.Exception
- Throws:
java.lang.Exception