org.progeeks.meta.swing
Class MetaTabbedPanelUIFactory

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

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

Factory for creating MetaTabbedPanelUIs

Version:
$Revision: 1.4 $
Author:
Paul Speed

Constructor Summary
MetaTabbedPanelUIFactory()
           
MetaTabbedPanelUIFactory(java.util.List tabs)
           
 
Method Summary
 void addTab(java.lang.String name, java.lang.String[] fields)
          Convenience method for adding a single tab that is editable and not scrollable.
 void addTab(java.lang.String name, java.lang.String[] fields, boolean editable, boolean scrollable)
          Convenience method for adding a single tab.
 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

MetaTabbedPanelUIFactory

public MetaTabbedPanelUIFactory()

MetaTabbedPanelUIFactory

public MetaTabbedPanelUIFactory(java.util.List tabs)
Method Detail

addTab

public void addTab(java.lang.String name,
                   java.lang.String[] fields)
Convenience method for adding a single tab that is editable and not scrollable.


addTab

public void addTab(java.lang.String name,
                   java.lang.String[] fields,
                   boolean editable,
                   boolean scrollable)
Convenience method for adding a single tab.


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.