org.springframework.richclient.form.binding.swing.editor
Class AbstractLookupBinder
java.lang.Object
org.springframework.richclient.form.binding.swing.editor.AbstractLookupBinder
- All Implemented Interfaces:
- Binder
- Direct Known Subclasses:
- SupplierBinder
public abstract class AbstractLookupBinder
- extends Object
- implements Binder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLookupBinder
public AbstractLookupBinder(String dataEditorId)
isLoadDetailedObject
public boolean isLoadDetailedObject()
setLoadDetailedObject
public void setLoadDetailedObject(boolean loadDetailedObject)
setAutoPopupDialog
public void setAutoPopupDialog(int autoPopupDialog)
setRevertValueOnFocusLost
public void setRevertValueOnFocusLost(boolean revertValueOnFocusLost)
setSelectDialogId
public void setSelectDialogId(String selectDialogId)
setSelectDialogCommandId
public void setSelectDialogCommandId(String selectDialogCommandId)
bind
public Binding bind(FormModel formModel,
String formPropertyPath,
Map context)
- Description copied from interface:
Binder
- Returns a binding between a form model's property and a control that will be
created by this Binder.
- Specified by:
bind
in interface Binder
- Parameters:
formModel
- the form model that this binding is forcontext
- additional context that may be used by this binder.
- Returns:
- a Binding (never null).
getLookupBinding
protected abstract AbstractLookupBinding getLookupBinding(FormModel formModel,
String formPropertyPath,
Map context)
bind
public Binding bind(JComponent control,
FormModel formModel,
String formPropertyPath,
Map context)
- Description copied from interface:
Binder
- Returns a binding between a form model's property and the provided control.
- Specified by:
bind
in interface Binder
- Parameters:
control
- the visual control that will be bound to the form model's property.formModel
- the form model that this binding is forcontext
- additional context that may be used by this binder
- Returns:
- a Binding (never null).
getAutoPopupDialog
protected int getAutoPopupDialog()
getDataEditor
protected DefaultDataEditorWidget getDataEditor()
isRevertValueOnFocusLost
protected boolean isRevertValueOnFocusLost()
getSelectDialogCommandId
protected String getSelectDialogCommandId()
getSelectDialogId
protected String getSelectDialogId()
setDataEditorViewCommandId
public void setDataEditorViewCommandId(String dataEditorViewCommandId)
setEnableViewCommand
public void setEnableViewCommand(boolean enableViewCommand)
setFilter
public void setFilter(Object filter)
getDataEditorViewCommandId
public String getDataEditorViewCommandId()
getFilter
public Object getFilter()
isEnableViewCommand
public boolean isEnableViewCommand()
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.