Packageorg.pranaframework.objects
Classpublic class PropertyEditorRegistrySupport
ImplementsIPropertyEditorRegistry
SubclassesSimpleTypeConverter

Default implementation of a property editor registry.



Public Methods
 MethodDefined by
  
PropertyEditorRegistrySupport
  
findCustomEditor(requiredType:Class):IPropertyEditor
Finds a property editor that was registered against the given type.
PropertyEditorRegistrySupport
  
registerCustomEditor(requiredType:Class, propertyEditor:IPropertyEditor):void
Registers the given property editor for the given type.
PropertyEditorRegistrySupport
Constructor detail
PropertyEditorRegistrySupport()constructor
public function PropertyEditorRegistrySupport()

Method detail
findCustomEditor()method
public function findCustomEditor(requiredType:Class):IPropertyEditor

Finds a property editor that was registered against the given type.

Parameters
requiredType:Class — the type of the property

Returns
IPropertyEditor
registerCustomEditor()method 
public function registerCustomEditor(requiredType:Class, propertyEditor:IPropertyEditor):void

Registers the given property editor for the given type.

Parameters
requiredType:Class — the type of the property
 
propertyEditor:IPropertyEditor — the property editor to register