org.springframework.richclient.form
Class DefaultFormUIProvider
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.form.AbstractFormUIProvider
org.springframework.richclient.form.DefaultFormUIProvider
- All Implemented Interfaces:
- ControlFactory, FormUIProvider
public class DefaultFormUIProvider
- extends AbstractFormUIProvider
Default FormUIProvider
implementation.
- Author:
- Peter De Bruycker
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 |
DefaultFormUIProvider
public DefaultFormUIProvider()
DefaultFormUIProvider
public DefaultFormUIProvider(JComponent component)
getComponent
public JComponent getComponent(String propertyPath)
- Description copied from interface:
FormUIProvider
- Provides access to individual components of this pre-generated form.
Components are referenced by id. The "id" of a component can be any
arbitrary String agreed upon between the designer and the developer, but
typically these IDs will be the same as the property names of the
object backing the form.
- Parameters:
propertyPath
- component id to lookup
- Returns:
- component with the specified id, or
null
if no
component exists in this pre-generated form with the given id.
setControl
public void setControl(JComponent control)
createControl
protected JComponent createControl()
- Description copied from class:
AbstractControlFactory
- Subclasses must override this method to create a new instance of the
control that this factory produces.
- Specified by:
createControl
in class AbstractControlFactory
- Returns:
- The newly created control, never null.
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.