org.springframework.richclient.command.support
Class AdditionalStateTestCommand

Show UML class diagram
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.support.AdditionalStateTestCommand
All Implemented Interfaces:
BeanNameAware, InitializingBean, org.springframework.binding.value.PropertyChangePublisher, org.springframework.richclient.command.ActionCommandExecutor, org.springframework.richclient.command.GuardedActionCommandExecutor, org.springframework.richclient.command.ParameterizableActionCommandExecutor, org.springframework.richclient.core.Authorizable, org.springframework.richclient.core.Guarded, org.springframework.richclient.core.SecurityControllable

public class AdditionalStateTestCommand
extends org.springframework.richclient.command.ActionCommand

Author:
Peter De Bruycker

Field Summary
 
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
AdditionalStateTestCommand()
           
AdditionalStateTestCommand(String id)
           
 
Method Summary
protected  void doExecuteCommand()
           
 boolean isEnabled()
           
 boolean isMyenabledState()
           
 boolean isMyvisibleState()
           
 boolean isVisible()
           
 void setMyenabledState(boolean myenabledState)
           
 void setMyvisibleState(boolean myvisibleState)
           
 
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, 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, isFaceConfigured, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdditionalStateTestCommand

public AdditionalStateTestCommand()

AdditionalStateTestCommand

public AdditionalStateTestCommand(String id)
Method Detail

doExecuteCommand

protected void doExecuteCommand()
Specified by:
doExecuteCommand in class org.springframework.richclient.command.ActionCommand
See Also:
ActionCommand.doExecuteCommand()

isMyenabledState

public boolean isMyenabledState()

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface org.springframework.richclient.core.Guarded
Overrides:
isEnabled in class org.springframework.richclient.command.AbstractCommand

setMyenabledState

public void setMyenabledState(boolean myenabledState)

isVisible

public boolean isVisible()
Overrides:
isVisible in class org.springframework.richclient.command.AbstractCommand

isMyvisibleState

public boolean isMyvisibleState()

setMyvisibleState

public void setMyvisibleState(boolean myvisibleState)


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