butler.swing.util
Interface ValueEditorFactory

All Known Implementing Classes:
ValueEditorFactory.DefaultImpl, ValueEditorFactory.ReflectionImpl

public interface ValueEditorFactory

Factory interface for creating value editors from a given datatype.

Author:
Fredrik Bertilsson

Nested Class Summary
static class ValueEditorFactory.DefaultImpl
           
static class ValueEditorFactory.ReflectionImpl
           
 
Method Summary
 ValueEditor createEditor(Datatype datatype, java.lang.String style)
          Creates a value editor from a given datatype.
 

Method Detail

createEditor

ValueEditor createEditor(Datatype datatype,
                         java.lang.String style)
                         throws java.lang.Exception
Creates a value editor from a given datatype. If no value editor is found for the given datatype, null must be returned.

Throws:
java.lang.Exception