org.springframework.richclient.form.binding.support
Class AbstractCRUDBinding

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.factory.AbstractControlFactory
          extended by org.springframework.richclient.form.binding.support.AbstractBinding
              extended by org.springframework.richclient.form.binding.support.CustomBinding
                  extended by org.springframework.richclient.form.binding.support.AbstractCRUDBinding
All Implemented Interfaces:
ControlFactory, Binding
Direct Known Subclasses:
AbstractGlazedListsBinding

public abstract class AbstractCRUDBinding
extends CustomBinding


Field Summary
 
Fields inherited from class org.springframework.richclient.form.binding.support.AbstractBinding
fieldMetadata, formModel, formPropertyPath
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
protected AbstractCRUDBinding(FormModel formModel, String formPropertyPath, Class requiredSourceClass)
           
 
Method Summary
protected abstract  AbstractCommand createAddCommand()
           
protected  List<AbstractCommand> createCommands()
           
protected abstract  AbstractCommand createDetailCommand()
           
protected abstract  AbstractCommand createEditCommand()
           
protected abstract  AbstractCommand createRemoveCommand()
           
protected  AbstractCommand getAddCommand()
           
protected  List<AbstractCommand> getCommands()
           
protected  AbstractCommand getDetailCommand()
           
protected  AbstractCommand getEditCommand()
           
protected  AbstractCommand getRemoveCommand()
           
 boolean isAddSupported()
           
 boolean isEditSupported()
           
 boolean isRemoveSupported()
           
 boolean isShowDetailSupported()
           
 void setAddSupported(boolean addSupported)
           
 void setEditSupported(boolean editSupported)
           
 void setRemoveSupported(boolean removeSupported)
           
 void setShowDetailSupported(boolean showDetailSupported)
           
 
Methods inherited from class org.springframework.richclient.form.binding.support.CustomBinding
controlValueChanged, isReadOnly, setReadOnly, valueModelChanged
 
Methods inherited from class org.springframework.richclient.form.binding.support.AbstractBinding
createControl, doBindControl, enabledChanged, getFieldFace, getFormModel, getProperty, getPropertyType, getValue, getValueModel, isEnabled, readOnlyChanged
 
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
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
 

Constructor Detail

AbstractCRUDBinding

protected AbstractCRUDBinding(FormModel formModel,
                              String formPropertyPath,
                              Class requiredSourceClass)
Method Detail

getCommands

protected List<AbstractCommand> getCommands()

createCommands

protected List<AbstractCommand> createCommands()

getAddCommand

protected AbstractCommand getAddCommand()

createAddCommand

protected abstract AbstractCommand createAddCommand()

getRemoveCommand

protected AbstractCommand getRemoveCommand()

createRemoveCommand

protected abstract AbstractCommand createRemoveCommand()

getDetailCommand

protected AbstractCommand getDetailCommand()

createDetailCommand

protected abstract AbstractCommand createDetailCommand()

getEditCommand

protected AbstractCommand getEditCommand()

createEditCommand

protected abstract AbstractCommand createEditCommand()

isAddSupported

public boolean isAddSupported()

setAddSupported

public void setAddSupported(boolean addSupported)

isEditSupported

public boolean isEditSupported()

setEditSupported

public void setEditSupported(boolean editSupported)

isRemoveSupported

public boolean isRemoveSupported()

setRemoveSupported

public void setRemoveSupported(boolean removeSupported)

isShowDetailSupported

public boolean isShowDetailSupported()

setShowDetailSupported

public void setShowDetailSupported(boolean showDetailSupported)


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