org.springframework.richclient.form
Class AbstractFormUIProvider

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.factory.AbstractControlFactory
          extended by org.springframework.richclient.form.AbstractFormUIProvider
All Implemented Interfaces:
ControlFactory, FormUIProvider
Direct Known Subclasses:
DefaultFormUIProvider

public abstract class AbstractFormUIProvider
extends AbstractControlFactory
implements FormUIProvider

Abstract FormUIProvider implementation. Extenders only need to implement the createControl() and getComponent(String id) methods.

Author:
Peter De Bruycker

Field Summary
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
AbstractFormUIProvider()
           
 
Method Summary
 void bind(BindingFactory factory, Form form)
          Binds the fields and other components in this pre-generated form to a Spring form by using the specified BindingFactory.
 Map getContext(String propertyPath)
           
 String[] getProperties()
           
 void setContext(String propertyPath, Map context)
           
 void setProperties(String[] properties)
           
 
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory
createControl, createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.richclient.form.FormUIProvider
getComponent, getControl
 

Constructor Detail

AbstractFormUIProvider

public AbstractFormUIProvider()
Method Detail

bind

public void bind(BindingFactory factory,
                 Form form)
Description copied from interface: FormUIProvider
Binds the fields and other components in this pre-generated form to a Spring form by using the specified BindingFactory.

Specified by:
bind in interface FormUIProvider
Parameters:
factory - the BindingFactory this form provider should use to bind the provided form.
form - the Form being bound.

getContext

public Map getContext(String propertyPath)

setContext

public void setContext(String propertyPath,
                       Map context)

setProperties

public void setProperties(String[] properties)

getProperties

public String[] getProperties()


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.