butler.swing.util
Class ValueEditorFactory.ReflectionImpl

java.lang.Object
  extended by butler.swing.util.ValueEditorFactory.ReflectionImpl
All Implemented Interfaces:
ValueEditorFactory
Enclosing interface:
ValueEditorFactory

public static class ValueEditorFactory.ReflectionImpl
extends java.lang.Object
implements ValueEditorFactory


Nested Class Summary
 
Nested classes/interfaces inherited from interface butler.swing.util.ValueEditorFactory
ValueEditorFactory.DefaultImpl, ValueEditorFactory.ReflectionImpl
 
Constructor Summary
ValueEditorFactory.ReflectionImpl(java.lang.Class clazz)
           
 
Method Summary
 ValueEditor createEditor(Datatype datatype, java.lang.String style)
          Creates a value editor from a given datatype.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueEditorFactory.ReflectionImpl

public ValueEditorFactory.ReflectionImpl(java.lang.Class clazz)
                                  throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

createEditor

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

Specified by:
createEditor in interface ValueEditorFactory
Throws:
java.lang.Exception