org.springframework.richclient.form.binding.swing
Class TextComponentBinder
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.form.binding.support.AbstractBinder
org.springframework.richclient.form.binding.swing.TextComponentBinder
- All Implemented Interfaces:
- Binder
- Direct Known Subclasses:
- JXSearchFieldBinder
public class TextComponentBinder
- extends AbstractBinder
- Author:
- Oliver Hutchison
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 |
TextComponentBinder
public TextComponentBinder()
doBind
protected Binding doBind(JComponent control,
FormModel formModel,
String formPropertyPath,
Map context)
- Specified by:
doBind
in class AbstractBinder
createTextComponent
protected JTextComponent createTextComponent()
createControl
protected JComponent createControl(Map context)
- Specified by:
createControl
in class AbstractBinder
isConvertEmptyStringToNull
public boolean isConvertEmptyStringToNull()
setConvertEmptyStringToNull
public void setConvertEmptyStringToNull(boolean convertEmptyStringToNull)
getPromptKey
public String getPromptKey()
setPromptKey
public void setPromptKey(String promptKey)
getDocumentFactory
public DocumentFactory getDocumentFactory()
setDocumentFactory
public void setDocumentFactory(DocumentFactory documentFactory)
isReadOnly
public boolean isReadOnly()
setReadOnly
public void setReadOnly(boolean readOnly)
isSelectAllOnFocus
public boolean isSelectAllOnFocus()
setSelectAllOnFocus
public void setSelectAllOnFocus(boolean selectAllOnFocus)
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.