org.progeeks.meta.swing.editor
Class TableUIFactory

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

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

Factory for TableUIs. TableUIs may have various things that can be configured about them.

Version:
$Revision: 1.2 $
Author:
Paul Speed

Constructor Summary
TableUIFactory()
          Creates a factory that will instantiate TableUI objects.
TableUIFactory(java.lang.Class uiClass)
          Creates a factory that will instantiate subclasses of TableUI specified by the uiClass parameter.
 
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

TableUIFactory

public TableUIFactory()
Creates a factory that will instantiate TableUI objects.


TableUIFactory

public TableUIFactory(java.lang.Class uiClass)
Creates a factory that will instantiate subclasses of TableUI specified by the uiClass parameter. The class must have a constructor that takes MetaPropertyContext and extend TableUI.

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.