org.springframework.richclient.form.binding
Interface BindingFactory

Show UML class diagram
All Known Implementing Classes:
AbstractBindingFactory, SwingBindingFactory

public interface BindingFactory

A BindingFactory creates bindings for a specific FormModel.

Author:
Oliver Hutchison

Method Summary
 Binding bindControl(JComponent control, String formPropertyPath)
          Returns a binding between the provided control and the provided formPropertyPath
 Binding bindControl(JComponent control, String formPropertyPath, Map context)
          Returns a binding between the provided control and the provided formPropertyPath
 Binding createBinding(Class controlType, String formPropertyPath)
          Returns a binding to a control of type controlType for the provided formPropertyPath
 Binding createBinding(Class controlType, String formPropertyPath, Map context)
          Returns a binding to a control of type controlType for the provided formPropertyPath
 Binding createBinding(String formPropertyPath)
          Returns a binding for the provided formPropertyPath.
 Binding createBinding(String formPropertyPath, Map context)
          Returns a binding for the provided formPropertyPath.
 FormModel getFormModel()
          Returns the form model that contains the properties being bound.
 

Method Detail

getFormModel

FormModel getFormModel()
Returns the form model that contains the properties being bound.


createBinding

Binding createBinding(String formPropertyPath)
Returns a binding for the provided formPropertyPath.


createBinding

Binding createBinding(String formPropertyPath,
                      Map context)
Returns a binding for the provided formPropertyPath.


createBinding

Binding createBinding(Class controlType,
                      String formPropertyPath)
Returns a binding to a control of type controlType for the provided formPropertyPath


createBinding

Binding createBinding(Class controlType,
                      String formPropertyPath,
                      Map context)
Returns a binding to a control of type controlType for the provided formPropertyPath


bindControl

Binding bindControl(JComponent control,
                    String formPropertyPath)
Returns a binding between the provided control and the provided formPropertyPath


bindControl

Binding bindControl(JComponent control,
                    String formPropertyPath,
                    Map context)
Returns a binding between the provided control and the provided formPropertyPath



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