|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.application.support.DefaultPropertyEditorRegistry
public class DefaultPropertyEditorRegistry
This provides a default implementation of PropertyEditorRegistry
Constructor Summary | |
---|---|
DefaultPropertyEditorRegistry()
|
Method Summary | |
---|---|
PropertyEditor |
getPropertyEditor(Class typeClass)
|
PropertyEditor |
getPropertyEditor(Class objectType,
String propertyName)
|
protected void |
initDefaultEditors()
Initialize the default property editors, covering primitive and other basic value types. |
void |
setPropertyEditor(Class typeClass,
Class propertyEditorClass)
|
void |
setPropertyEditor(Class objectType,
String propertyName,
Class propertyEditorClass)
|
void |
setPropertyEditor(Properties properties)
Adds a property editor to the registry extracting the object class, property name and property editor class from the properties "objectClass", "propertyName" and "propertyEditorClass". |
void |
setPropertyEditors(List propertyEditors)
Adds a list of property editors to the registry extracting the object class, property name and property editor class from the properties "objectClass", "propertyName" and "propertyEditorClass". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPropertyEditorRegistry()
Method Detail |
---|
protected void initDefaultEditors()
public void setPropertyEditors(List propertyEditors)
propertyEditors
- the list of property editors. Each element is expected to be
an instance of java.lang.Properties
.setPropertyEditor(Properties)
public void setPropertyEditor(Properties properties)
properties
- the propertiespublic void setPropertyEditor(Class typeClass, Class propertyEditorClass)
public void setPropertyEditor(Class objectType, String propertyName, Class propertyEditorClass)
public PropertyEditor getPropertyEditor(Class typeClass)
public PropertyEditor getPropertyEditor(Class objectType, String propertyName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |