org.springframework.richclient.form.binding.swing
Class SpinnerBinder

Show UML class diagram
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.SpinnerBinder
All Implemented Interfaces:
Binder

public class SpinnerBinder
extends AbstractBinder


Field Summary
 
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
SpinnerBinder()
           
SpinnerBinder(Class requiredClass)
           
 
Method Summary
protected  JComponent createControl(Map context)
           
protected  Binding doBind(JComponent control, FormModel formModel, String formPropertyPath, Map context)
           
 void setCurrentValue(Number currentValue)
           
 void setMaximum(Comparable maximum)
           
 void setMinimum(Comparable minimum)
           
 void setStepValue(Number stepValue)
           
 
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
 

Constructor Detail

SpinnerBinder

public SpinnerBinder()

SpinnerBinder

public SpinnerBinder(Class requiredClass)
Method Detail

setMinimum

public void setMinimum(Comparable minimum)

setMaximum

public void setMaximum(Comparable maximum)

setCurrentValue

public void setCurrentValue(Number currentValue)

setStepValue

public void setStepValue(Number stepValue)

createControl

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

doBind

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


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