org.progeeks.meta.swing
Interface RendererFactory

All Known Implementing Classes:
ContainerEditorFactory, DefaultRendererFactory, FileListEditorFactory, ListEditorFactory, LongStringEditorFactory, MetaObjectTabbedPaneUIFactory, MetaTabbedPanelUIFactory, MultiColumnPanelUIFactory, TableUIFactory

public interface RendererFactory

Creates specific types of MetaPropertyRenderers.

Version:
$Revision: 1.6 $
Author:
Paul Speed

Method Summary
 MetaPropertyRenderer createPropertyRenderer(MetaPropertyContext viewContext)
          Creates a renderer for a specific set of property types.
 

Method Detail

createPropertyRenderer

MetaPropertyRenderer createPropertyRenderer(MetaPropertyContext viewContext)
Creates a renderer for a specific set of property types. The MetaPropertyContext provides environmental information about the call used to create the factory such as the PropertyType and the FactoryRegistry. The FactoryRegistry is the registry to which the original request was made. This may not be the same registry that actually holds this factory because of hierarchical delegation and such.

Parameters:
viewContext - The context within which this renderer will be operating. It is up to the caller (usually the FactoryRegistry) to initialize the view with this view context. It is merely provide in case context information is necessary to decide which renderer to create.


Copyright © 2002-2003 Paul Speed. All Rights Reserved.