org.ejtools.beans
Class CustomPropertyEditorManager

java.lang.Object
  |
  +--java.beans.PropertyEditorManager
        |
        +--org.ejtools.beans.CustomPropertyEditorManager

public abstract class CustomPropertyEditorManager
extends java.beans.PropertyEditorManager

Decorator class to enhance the functionnality of the PropertyEditorManager. If a PropertyEditor is not found, a PropertyEditor matching one of the implemented interfaces is searched.

Version:
$Revision: 1.8 $
Author:
Laurent Etiemble

Field Summary
static java.lang.String EDITORS_PACKAGE
          Description of the Field
 
Constructor Summary
CustomPropertyEditorManager()
           
 
Method Summary
static java.beans.PropertyEditor findEditor(java.lang.Class clazz)
          Add super interfaces search when finding a PropertyEditor
 
Methods inherited from class java.beans.PropertyEditorManager
getEditorSearchPath, registerEditor, setEditorSearchPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDITORS_PACKAGE

public static final java.lang.String EDITORS_PACKAGE
Description of the Field

See Also:
Constant Field Values
Constructor Detail

CustomPropertyEditorManager

public CustomPropertyEditorManager()
Method Detail

findEditor

public static java.beans.PropertyEditor findEditor(java.lang.Class clazz)
Add super interfaces search when finding a PropertyEditor

Parameters:
clazz - The class of the property
Returns:
The PropertyEditor found, null otherwise


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.