org.progeeks.meta.swing
Class MultiColumnPanelUIFactory
java.lang.Object
org.progeeks.meta.swing.MultiColumnPanelUIFactory
- All Implemented Interfaces:
- EditorFactory, RendererFactory
public class MultiColumnPanelUIFactory
- extends java.lang.Object
- implements EditorFactory, RendererFactory
Factory for creating MultiColumnPanelUIs that can
act as either renderers or editors. This factory
implements both editor factory and renderer factory
and can therefore be registered as either or both
as needed.
- Version:
- $Revision: 1.11 $
- Author:
- Paul Speed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiColumnPanelUIFactory
public MultiColumnPanelUIFactory()
MultiColumnPanelUIFactory
public MultiColumnPanelUIFactory(MetaClass type,
java.util.List fieldNames)
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.