org.springframework.richclient.samples.showcase.util
Class AbstractReporterForm.StateSynchronizingToggleCommand

java.lang.Object
  extended by org.springframework.binding.value.support.AbstractPropertyChangePublisher
      extended by org.springframework.richclient.command.AbstractCommand
          extended by org.springframework.richclient.command.ActionCommand
              extended by org.springframework.richclient.command.ToggleCommand
                  extended by org.springframework.richclient.samples.showcase.util.AbstractReporterForm.StateSynchronizingToggleCommand
All Implemented Interfaces:
PropertyChangeListener, EventListener, BeanNameAware, InitializingBean, PropertyChangePublisher, ActionCommandExecutor, GuardedActionCommandExecutor, ParameterizableActionCommandExecutor, Authorizable, Guarded, SecurityControllable
Enclosing class:
AbstractReporterForm

public abstract static class AbstractReporterForm.StateSynchronizingToggleCommand
extends ToggleCommand
implements PropertyChangeListener


Field Summary
 
Fields inherited from class org.springframework.richclient.command.ToggleCommand
SELECTED_PROPERTY
 
Fields inherited from class org.springframework.richclient.command.ActionCommand
ACTION_COMMAND_PARAMETER_KEY, ACTION_COMMAND_PROPERTY, ACTION_EVENT_PARAMETER_KEY, MODIFIERS_PARAMETER_KEY
 
Fields inherited from class org.springframework.richclient.command.AbstractCommand
ENABLED_PROPERTY_NAME, VISIBLE_PROPERTY_NAME
 
Fields inherited from class org.springframework.binding.value.support.AbstractPropertyChangePublisher
logger
 
Fields inherited from interface org.springframework.richclient.core.Authorizable
AUTHORIZED_PROPERTY
 
Constructor Summary
AbstractReporterForm.StateSynchronizingToggleCommand(String id)
           
 
Method Summary
protected abstract  void doOnDeselection()
           
protected abstract  void doOnSelection()
           
protected  void onDeselection()
          Convenience hook method for processing a deselection action.
protected  void onSelection()
          Convenience hook method for processing a selection action.
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class org.springframework.richclient.command.ToggleCommand
createButton, createCheckBox, createCheckBox, createCheckBox, createCheckBox, createMenuItem, createRadioButton, createRadioButton, createRadioButton, createRadioButton, doExecuteCommand, isExclusiveGroupMember, isSelected, onButtonAttached, onSelection, requestDefaultIn, requestSetSelection, setExclusiveController, setSelected
 
Methods inherited from class org.springframework.richclient.command.ActionCommand
addCommandInterceptor, addParameter, execute, execute, getActionAdapter, getActionCommand, getModifiers, getParameter, getParameter, getParameters, isDisplaysInputDialog, onPostExecute, onPreExecute, removeCommandInterceptor, setActionCommand, setDefaultButton, setDefaultButtonIn, setDisplaysInputDialog
 
Methods inherited from class org.springframework.richclient.command.AbstractCommand
addEnabledListener, afterPropertiesSet, attach, attach, attach, buttonIterator, createButton, createButton, createButton, createButton, createButton, createMenuItem, createMenuItem, createMenuItem, createMenuItem, createMenuItem, defaultButtonIterator, detach, getAccelerator, getButtonFactory, getButtonIn, getCommandServices, getComponentFactory, getDefaultButtonConfigurer, getDefaultFaceDescriptorId, getFaceDescriptor, getFaceDescriptorRegistry, getIcon, getId, getMenuFactory, getMenuItemButtonConfigurer, getMnemonic, getMnemonicIndex, getSecurityControllerId, getText, getToolBarButtonConfigurer, getToolBarButtonFactory, isAnonymous, isAttached, isAuthorized, isEnabled, isFaceConfigured, isVisible, onButtonDetached, removeEnabledListener, requestFocusIn, setAuthorized, setBeanName, setCaption, setCommandServices, setDefaultFaceDescriptorId, setEnabled, setFaceDescriptor, setFaceDescriptor, setFaceDescriptorRegistry, setFaceDescriptors, setIcon, setIconInfo, setId, setLabel, setLabel, setSecurityControllerId, setVisible, toString, updatedEnabledState, updatedVisibleState
 
Methods inherited from class org.springframework.binding.value.support.AbstractPropertyChangePublisher
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, firePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasChanged, hasChanged, hasChanged, hasChanged, hasChanged, hasChanged, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractReporterForm.StateSynchronizingToggleCommand

public AbstractReporterForm.StateSynchronizingToggleCommand(String id)
Method Detail

onSelection

protected final void onSelection()
Description copied from class: ToggleCommand
Convenience hook method for processing a selection action.

Overrides:
onSelection in class ToggleCommand

onDeselection

protected final void onDeselection()
Description copied from class: ToggleCommand
Convenience hook method for processing a deselection action.

Overrides:
onDeselection in class ToggleCommand

doOnSelection

protected abstract void doOnSelection()

doOnDeselection

protected abstract void doOnDeselection()

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener


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