org.springframework.richclient.form.binding
Interface Binding

All Superinterfaces:
ControlFactory
All Known Implementing Classes:
AbstractBinding, AbstractDateFieldBinding, AbstractListBinding, ComboBoxBinding, CustomBinding, DecoratedControlBinding, EnumComboBoxBinding, FormattedTextFieldBinding, JCalendarDateFieldBinding, JXDatePickerDateFieldBinding, LabelBinding, ListBinding, ListSelectionDialogBinding, NachoCalendarDateFieldBinding, NumberBinding, ScrollPaneDecoratedBinding, ShuttleListBinding, TextComponentBinding, ToggleButtonBinding

public interface Binding
extends ControlFactory

A binding from a visual editing control to a form model's property.

Author:
Oliver Hutchison

Method Summary
 JComponent getControl()
          Returns the visual control that is bound to the form model's property.
 FormModel getFormModel()
          Returns the form model that this binding is for.
 String getProperty()
          Returns the property that this binding is for.
 

Method Detail

getFormModel

FormModel getFormModel()
Returns the form model that this binding is for.


getProperty

String getProperty()
Returns the property that this binding is for.


getControl

JComponent getControl()
Returns the visual control that is bound to the form model's property.

Specified by:
getControl in interface ControlFactory
Returns:
The control, never null.


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