org.springframework.richclient.command.support
Class AbstractWidgetCommand
java.lang.Object
org.springframework.binding.value.support.AbstractPropertyChangePublisher
org.springframework.richclient.command.AbstractCommand
org.springframework.richclient.command.ActionCommand
org.springframework.richclient.command.support.ApplicationWindowAwareCommand
org.springframework.richclient.command.support.AbstractWidgetCommand
- All Implemented Interfaces:
- BeanNameAware, InitializingBean, PropertyChangePublisher, ApplicationContextAware, ApplicationWindowAware, ActionCommandExecutor, GuardedActionCommandExecutor, ParameterizableActionCommandExecutor, Authorizable, Guarded, SecurityControllable
- Direct Known Subclasses:
- WidgetDialogCommand, WidgetViewCommand
public abstract class AbstractWidgetCommand
- extends ApplicationWindowAwareCommand
- implements ApplicationContextAware
Base class for commands that use widgets. The widget can be injected or found in the context through its id.
Methods inherited from class org.springframework.richclient.command.ActionCommand |
addCommandInterceptor, addParameter, doExecuteCommand, execute, execute, getActionAdapter, getActionCommand, getModifiers, getParameter, getParameter, getParameters, isAltDown, isControlDown, isDisplaysInputDialog, isMetaDown, isShiftDown, onButtonAttached, 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, createButton, createMenuItem, 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, setBackground, setBeanName, setCaption, setCommandServices, setDefaultFaceDescriptorId, setEnabled, setFaceDescriptor, setFaceDescriptor, setFaceDescriptorRegistry, setFaceDescriptors, setForeground, 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 |
AbstractWidgetCommand
public AbstractWidgetCommand()
setWidget
public void setWidget(Widget widget)
getWidget
protected Widget getWidget()
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext
in interface ApplicationContextAware
- Throws:
BeansException
getApplicationContext
public ApplicationContext getApplicationContext()
getWidgetComponent
protected final JComponent getWidgetComponent()
getWidgetBeanId
public String getWidgetBeanId()
setWidgetBeanId
public void setWidgetBeanId(String widgetBeanId)
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.