org.progeeks.meta.swing
Interface EditorFactory

All Known Implementing Classes:
ContainerEditorFactory, DateEditorFactory, DateTimeEditorFactory, DefaultEditorFactory, DoubleEditorFactory, EnumeratedTypeEditorFactory, FileEditorFactory, FileListEditorFactory, FloatEditorFactory, IntegerEditorFactory, ListEditorFactory, LongStringEditorFactory, MetaObjectTabbedPaneUIFactory, MetaTabbedPanelUIFactory, MultiColumnPanelUIFactory, TableUIFactory

public interface EditorFactory

Creates specific types of MetaPropertyEditors.

Version:
$Revision: 1.7 $
Author:
Paul Speed

Method Summary
 MetaPropertyEditor createPropertyEditor(MetaPropertyContext viewContext)
          Creates an editor for a specific set of property types.
 

Method Detail

createPropertyEditor

MetaPropertyEditor createPropertyEditor(MetaPropertyContext viewContext)
Creates an editor 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 passed 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 editor 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.