de.kleopatra.forms.view.builder
Class FormFactory

java.lang.Object
  extended byde.kleopatra.forms.view.builder.FormFactory

public class FormFactory
extends java.lang.Object

central Factory to get everything needed to build and customize a form from resources.

Version:
$Revision: 1.3 $ $Date: 2004/09/30 10:18:21 $
Author:
(C) 2003 Jeanette Winzenburg, Berlin

Method Summary
static ExtFormLoader createExtFormLoader()
           
static FormDescription createFormDescription()
           
static FormIO createFormIO()
          create a new FormIO with handlerMap as defined by MappingManager.
static LayoutDebugPainter createLayoutDebugPainter()
          returns a DebugPainter.
static UIFactory createUIFactory()
          returns a new UIFactory with custom maps defined by MappingManager.
static BundleHandler getBundleHandler()
           
static ExtFormLoader getExtFormLoader()
          returns a shared ExtFormLoader.
static FormIO getFormIO()
          returns the shared FormIO.
static FormLoader getFormLoader()
          returns the shared FormLoader.
static FormReader getFormReader()
          returns the shared default FormReader.
static FormWriter getFormWriter()
          Deprecated. use FormLoader instead
static UIBuilder getUIBuilder()
          returns the shared UIBuilder.
static UIFactory getUIFactory()
          returns the shared default UIFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUIBuilder

public static UIBuilder getUIBuilder()
returns the shared UIBuilder.


getUIFactory

public static UIFactory getUIFactory()
returns the shared default UIFactory. The shared UIFactory initially has custom maps as defined by MappingManager. NOTE: changing the factories XXMaps will be effective application-wide.


createUIFactory

public static UIFactory createUIFactory()
returns a new UIFactory with custom maps defined by MappingManager.

PENDING: actually a SwingUIFactory created, only the XXMaps are dynamically configurable ...


getBundleHandler

public static BundleHandler getBundleHandler()

getFormReader

public static FormReader getFormReader()
returns the shared default FormReader.


getFormWriter

public static FormWriter getFormWriter()
Deprecated. use FormLoader instead

returns the shared FormWriter.


getFormLoader

public static FormLoader getFormLoader()
returns the shared FormLoader.


getExtFormLoader

public static ExtFormLoader getExtFormLoader()
returns a shared ExtFormLoader.

Returns:

createExtFormLoader

public static ExtFormLoader createExtFormLoader()

getFormIO

public static FormIO getFormIO()
returns the shared FormIO.

NOTE: this is used by default by the shared (Ext)FormLoader and the FormIOHelper - so setting its IOHandlerMap will be effective application-wide.


createFormIO

public static FormIO createFormIO()
create a new FormIO with handlerMap as defined by MappingManager.


createLayoutDebugPainter

public static LayoutDebugPainter createLayoutDebugPainter()
returns a DebugPainter.

PENDING: wrong place.


createFormDescription

public static FormDescription createFormDescription()


Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.