Packageorg.springextensions.actionscript.objects
SVN browsingPropertyEditorRegistrySupport.as
FisheyePropertyEditorRegistrySupport.as
Classpublic class PropertyEditorRegistrySupport
ImplementsIApplicationDomainAware, IPropertyEditorRegistry
SubclassesSimpleTypeConverter

Default implementation of a property editor registry.

Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1



Public Properties
 PropertyDefined by
  applicationDomain : ApplicationDomain
[write-only]
PropertyEditorRegistrySupport
Public Methods
 MethodDefined by
  
PropertyEditorRegistrySupport(applicationDomain:ApplicationDomain)
Creates a new PropertyEditorRegistrySupport instance.
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
Property detail
applicationDomainproperty
applicationDomain:ApplicationDomain  [write-only]

Implementation
    public function set applicationDomain(value:ApplicationDomain):void
Constructor detail
PropertyEditorRegistrySupport()constructor
public function PropertyEditorRegistrySupport(applicationDomain:ApplicationDomain)

Creates a new PropertyEditorRegistrySupport instance.

Parameters
applicationDomain:ApplicationDomain
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