org.progeeks.meta.swing.editor
Class ContainerEditorFactory

java.lang.Object
  extended by org.progeeks.meta.swing.editor.ContainerEditorFactory
All Implemented Interfaces:
EditorFactory, RendererFactory

public class ContainerEditorFactory
extends java.lang.Object
implements EditorFactory, RendererFactory

Factory for ContainerEditors. ContainerEditors may have various things that can be configured about them. Also in some cases it is useful for them to have access to a FactoryRegistry.

Version:
$Revision: 1.5 $
Author:
Paul Speed

Constructor Summary
ContainerEditorFactory()
           
 
Method Summary
 MetaPropertyEditor createPropertyEditor(MetaPropertyContext viewContext)
          Creates an editor for a specific set of property types.
 MetaPropertyRenderer createPropertyRenderer(MetaPropertyContext viewContext)
          Creates a renderer for a specific set of property types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerEditorFactory

public ContainerEditorFactory()
Method Detail

createPropertyEditor

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

Specified by:
createPropertyEditor in interface EditorFactory
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.

createPropertyRenderer

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

Specified by:
createPropertyRenderer in interface RendererFactory
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.