ComponentManager.registerValueEditorClass

Overview | Methods | This Package | All Packages

ComponentManager.registerValueEditorClass

Registers a value editor for the specified data type.

Syntax

public static void registerValueEditorClass( Class type, Class valueEditorClass )

Parameters

type

The class of the data type to register the value editor for.

valueEditorClass

The class of the value editor to be associated with type.

Remarks

To find a value editor for a given class type, WFC typically looks for an inner class named Editor. However, if a class cannot define an inner class, the registerValueEditorClass method can be used to create a custom mapping between the class type and a value editor class. For example, WFC uses this method to register editors for the primitive types.

See Also   IValueEditor