|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.richclient.form.binding.support.AbstractBinderSelectionStrategy org.springframework.richclient.form.binding.swing.SwingBinderSelectionStrategy
public class SwingBinderSelectionStrategy
Constructor Summary | |
---|---|
SwingBinderSelectionStrategy()
|
Method Summary | |
---|---|
Binder |
getIdBoundBinder(String id)
Try to find a binder with a specified id. |
protected void |
registerDefaultBinders()
Register the default set of binders. |
void |
registerIdBoundBinders(Map<String,Binder> binders)
Register additional map of id bound binders |
Binder |
selectBinder(Class controlType)
Select a binder based on a control type |
void |
setIdBoundBinders(Map binders)
Set a map with predefined binders |
Methods inherited from class org.springframework.richclient.form.binding.support.AbstractBinderSelectionStrategy |
---|
afterPropertiesSet, findBinderByControlType, findBinderByPropertyName, findBinderByPropertyType, getApplicationContext, getPropertyType, isEnumeration, registerBinderForControlType, registerBinderForPropertyName, registerBinderForPropertyType, selectBinder, selectBinder, setApplicationContext, setBinderForPropertyName, setBindersForControlTypes, setBindersForPropertyNames, setBindersForPropertyTypes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingBinderSelectionStrategy()
Method Detail |
---|
public void setIdBoundBinders(Map binders)
binders
- public void registerIdBoundBinders(Map<String,Binder> binders)
binders
- public Binder getIdBoundBinder(String id)
id
- Id of the binder
null
if not found.public Binder selectBinder(Class controlType)
controlType
- Type of control
protected void registerDefaultBinders()
AbstractBinderSelectionStrategy
registerDefaultBinders
in class AbstractBinderSelectionStrategy
AbstractBinderSelectionStrategy.registerBinderForPropertyName(Class, String, Binder)
,
AbstractBinderSelectionStrategy.registerBinderForPropertyType(Class, Binder)
,
AbstractBinderSelectionStrategy.registerBinderForControlType(Class, Binder)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |