| Package | org.springextensions.actionscript.objects |
| SVN browsing | SimpleTypeConverter.as |
| Fisheye | SimpleTypeConverter.as |
| Class | public class SimpleTypeConverter |
| Inheritance | SimpleTypeConverter PropertyEditorRegistrySupport |
| Implements | ITypeConverter |
ITypeConverter interface.
Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1
| Method | Defined by | ||
|---|---|---|---|
|
SimpleTypeConverter(applicationDomain:ApplicationDomain)
Creates a new
SimpleTypeConverter instance. | SimpleTypeConverter | ||
|
convertIfNecessary(value:*, requiredType:Class = null):*
Convert the given value to the required type.
| SimpleTypeConverter | ||
![]() |
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 | |
| SimpleTypeConverter | () | constructor |
public function SimpleTypeConverter(applicationDomain:ApplicationDomain)
Creates a new SimpleTypeConverter instance.
applicationDomain:ApplicationDomain |
| convertIfNecessary | () | method |
public function convertIfNecessary(value:*, requiredType:Class = null):*Convert the given value to the required type.
Parametersvalue:* — the value to convert
|
|
requiredType:Class (default = null) — the type to convert to
|
* |