public class PropertyValueEditorManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected PropertyValueEditor<?> |
DEFAULT_EDITOR |
protected java.util.Map<java.lang.String,PropertyValueEditor<?>> |
EDITOR_TABLE |
Constructor and Description |
---|
PropertyValueEditorManager()
Constructor
|
Modifier and Type | Method and Description |
---|---|
static PropertyValueEditorManager |
getDefaultManager()
Get the default manager
|
PropertyValueEditor<?> |
getEditor(java.lang.Class<?> theClass)
get the editor for a given class
|
PropertyValueEditor<?> |
getEditor(java.lang.String className)
get the editor for a given class name
|
boolean |
hasEditor(java.lang.Class<?> theClass)
determine if the there is an editor registered for the specified class
|
void |
register(java.lang.Class<?> theClass,
PropertyValueEditor<?> editor)
register editors for classes
|
protected final java.util.Map<java.lang.String,PropertyValueEditor<?>> EDITOR_TABLE
protected final PropertyValueEditor<?> DEFAULT_EDITOR
public static PropertyValueEditorManager getDefaultManager()
public void register(java.lang.Class<?> theClass, PropertyValueEditor<?> editor)
public boolean hasEditor(java.lang.Class<?> theClass)
public PropertyValueEditor<?> getEditor(java.lang.Class<?> theClass)
public PropertyValueEditor<?> getEditor(java.lang.String className)