org.springframework.richclient.command
Class SplitPaneExpansionToggleCommand
java.lang.Object
org.springframework.binding.value.support.AbstractPropertyChangePublisher
org.springframework.richclient.command.AbstractCommand
org.springframework.richclient.command.ActionCommand
org.springframework.richclient.command.SplitPaneExpansionToggleCommand
- All Implemented Interfaces:
- BeanNameAware, InitializingBean, PropertyChangePublisher, ActionCommandExecutor, GuardedActionCommandExecutor, ParameterizableActionCommandExecutor, Authorizable, Guarded, SecurityControllable
public class SplitPaneExpansionToggleCommand
- extends ActionCommand
Methods inherited from class org.springframework.richclient.command.ActionCommand |
addCommandInterceptor, addParameter, 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, buttonIterator, 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 |
SplitPaneExpansionToggleCommand
public SplitPaneExpansionToggleCommand(String commandId,
JSplitPane splitPane,
boolean switchedAway)
doExecuteCommand
protected void doExecuteCommand()
- Specified by:
doExecuteCommand
in class ActionCommand
doHide
public void doHide()
doShow
public void doShow()
createButton
public AbstractButton createButton(String faceDescriptorId,
ButtonFactory buttonFactory,
CommandButtonConfigurer configurer)
- Description copied from class:
AbstractCommand
- Creates a button using the provided id, factory and configurer.
- Overrides:
createButton
in class AbstractCommand
- Parameters:
faceDescriptorId
- id of the faceDescriptor used to configure the
button.buttonFactory
- factory that delivers the button.configurer
- configurer mapping the faceDescriptor on the
button.
- Returns:
- a button attached to this command.
attach
public void attach(AbstractButton button,
String faceDescriptorId,
CommandButtonConfigurer configurer)
- Description copied from class:
AbstractCommand
- Attach and configure the button to the faceDescriptorId using the configurer.
- Overrides:
attach
in class AbstractCommand
- Parameters:
button
- the button to attach and configure.faceDescriptorId
- the id of the faceDescriptor.configurer
- that maps the faceDescriptor on the button.
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.