org.springframework.richclient.form.binding.swing
Class TextComponentBinding
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.form.binding.support.AbstractBinding
org.springframework.richclient.form.binding.swing.TextComponentBinding
- All Implemented Interfaces:
- ControlFactory, Binding
public class TextComponentBinding
- extends AbstractBinding
- 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 |
Methods inherited from interface org.springframework.richclient.form.binding.Binding |
getControl |
TextComponentBinding
public TextComponentBinding(JTextComponent textComponent,
FormModel formModel,
String formPropertyPath)
doBindControl
protected JComponent doBindControl()
- Specified by:
doBindControl
in class AbstractBinding
isReadOnly
public boolean isReadOnly()
- Description copied from class:
AbstractBinding
- Is the bound property in the read only state.
- Overrides:
isReadOnly
in class AbstractBinding
- See Also:
FormPropertyState
setReadOnly
public void setReadOnly(boolean readOnly)
readOnlyChanged
protected void readOnlyChanged()
- Description copied from class:
AbstractBinding
- Called when the read only state of the bound property changes.
- Specified by:
readOnlyChanged
in class AbstractBinding
- See Also:
FormPropertyState
enabledChanged
protected void enabledChanged()
- Description copied from class:
AbstractBinding
- Called when the enabled state of the bound property changes.
- Specified by:
enabledChanged
in class AbstractBinding
- See Also:
FormPropertyState
getPromptKey
public String getPromptKey()
setPromptKey
public void setPromptKey(String promptKey)
isConvertEmptyStringToNull
public boolean isConvertEmptyStringToNull()
setConvertEmptyStringToNull
public void setConvertEmptyStringToNull(boolean convertEmptyStringToNull)
isSelectAllOnFocus
public boolean isSelectAllOnFocus()
setSelectAllOnFocus
public void setSelectAllOnFocus(boolean selectAllOnFocus)
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.