org.springframework.richclient.command
Class AbstractCommandTests.TestAbstractCommand

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.AbstractCommandTests.TestAbstractCommand
All Implemented Interfaces:
BeanNameAware, InitializingBean, org.springframework.binding.value.PropertyChangePublisher, org.springframework.richclient.command.ActionCommandExecutor, org.springframework.richclient.command.GuardedActionCommandExecutor, org.springframework.richclient.core.Authorizable, org.springframework.richclient.core.Guarded, org.springframework.richclient.core.SecurityControllable
Enclosing class:
AbstractCommandTests

protected class AbstractCommandTests.TestAbstractCommand
extends org.springframework.richclient.command.AbstractCommand


Field Summary
 
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
protected AbstractCommandTests.TestAbstractCommand()
           
 
Method Summary
 void execute()
           
 boolean isEnabled()
           
 boolean isVisible()
           
 void setSecondaryEnabledState(boolean secondaryEnabledState)
           
 void setSecondaryVisibleState(boolean secondaryVisibleState)
           
 
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, onButtonAttached, 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

AbstractCommandTests.TestAbstractCommand

protected AbstractCommandTests.TestAbstractCommand()
Method Detail

isEnabled

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

isVisible

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

setSecondaryEnabledState

public void setSecondaryEnabledState(boolean secondaryEnabledState)

setSecondaryVisibleState

public void setSecondaryVisibleState(boolean secondaryVisibleState)

execute

public void execute()


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