org.springframework.richclient.form.binding.swing.date
Class NachoCalendarDateFieldBinder

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.form.binding.support.AbstractBinder
          extended by org.springframework.richclient.form.binding.swing.date.AbstractDateFieldBinder
              extended by org.springframework.richclient.form.binding.swing.date.NachoCalendarDateFieldBinder
All Implemented Interfaces:
Binder

public class NachoCalendarDateFieldBinder
extends AbstractDateFieldBinder

Binds a Date to a NachoCalendar DateField

Author:
Geoffrey De Smet, Benoit Xhenseval (added dateFormat setting)

Field Summary
static String SHOW_OK_CANCEL_KEY
           
 
Fields inherited from class org.springframework.richclient.form.binding.swing.date.AbstractDateFieldBinder
DATE_FORMAT
 
Fields inherited from class org.springframework.richclient.form.binding.support.AbstractBinder
BINDING_CLIENT_PROPERTY_KEY, log
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
NachoCalendarDateFieldBinder()
           
 
Method Summary
protected  void applyContext(NachoCalendarDateFieldBinding binding, Map context)
           
protected  JComponent createControl(Map context)
           
protected  Binding doBind(JComponent control, FormModel formModel, String formPropertyPath, Map context)
           
 
Methods inherited from class org.springframework.richclient.form.binding.swing.date.AbstractDateFieldBinder
applyContext, getDateFormat, setDateFormat
 
Methods inherited from class org.springframework.richclient.form.binding.support.AbstractBinder
bind, bind, getPropertyType, getRequiredSourceClass, validateContextKeys
 
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.Binder
bind, bind
 

Field Detail

SHOW_OK_CANCEL_KEY

public static final String SHOW_OK_CANCEL_KEY
See Also:
Constant Field Values
Constructor Detail

NachoCalendarDateFieldBinder

public NachoCalendarDateFieldBinder()
Method Detail

doBind

protected Binding doBind(JComponent control,
                         FormModel formModel,
                         String formPropertyPath,
                         Map context)
Specified by:
doBind in class AbstractBinder

applyContext

protected void applyContext(NachoCalendarDateFieldBinding binding,
                            Map context)

createControl

protected JComponent createControl(Map context)
Specified by:
createControl in class AbstractBinder


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