org.springframework.richclient.command
Class ExclusiveCommandGroup

java.lang.Object
  extended by org.springframework.binding.value.support.AbstractPropertyChangePublisher
      extended by org.springframework.richclient.command.AbstractCommand
          extended by org.springframework.richclient.command.CommandGroup
              extended by org.springframework.richclient.command.ExclusiveCommandGroup
All Implemented Interfaces:
BeanNameAware, InitializingBean, PropertyChangePublisher, ActionCommandExecutor, GuardedActionCommandExecutor, Authorizable, Guarded, SecurityControllable

public class ExclusiveCommandGroup
extends CommandGroup


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
ExclusiveCommandGroup()
           
ExclusiveCommandGroup(String groupId)
           
ExclusiveCommandGroup(String groupId, CommandFaceDescriptor faceDescriptor)
           
ExclusiveCommandGroup(String groupId, CommandRegistry commandRegistry)
           
ExclusiveCommandGroup(String id, String encodedLabel)
           
ExclusiveCommandGroup(String id, String encodedLabel, Icon icon, String caption)
           
 
Method Summary
 boolean getAllowsEmptySelection()
           
protected  ExclusiveCommandGroupSelectionController getSelectionController()
           
 boolean isAllowedMember(AbstractCommand prospectiveMember)
           
 void setAllowsEmptySelection(boolean allowsEmptySelection)
           
 
Methods inherited from class org.springframework.richclient.command.CommandGroup
add, add, add, add, addCommandsToGroupContainer, addComponentInternal, addGlue, addGlue, addGlueInternal, addGroupListener, addInternal, addLazyInternal, addSeparator, addSeparator, addSeparatorInternal, contains, createButton, createButton, createButton, createButton, createButton, createButtonBar, createButtonBar, createButtonBar, createButtonBar, createButtonBar, createButtonStack, createButtonStack, createButtonStack, createButtonStack, createButtonStack, createCommandGroup, createCommandGroup, createCommandGroup, createCommandGroup, createExclusiveCommandGroup, createExclusiveCommandGroup, createExclusiveCommandGroup, createMenuBar, createMenuBar, createMenuItem, createPopupMenu, createPopupMenu, createToolBar, createToolBar, execute, find, fireMembersChanged, getCommandRegistry, getMemberCount, getMemberList, getPullDownMenuButtonConfigurer, memberIterator, rebuildAllControls, remove, remove, remove, remove, removeGroupListener, reset, setCommandRegistry, setEnabled, setVisible, size
 
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, onButtonAttached, onButtonDetached, removeEnabledListener, requestFocusIn, setAuthorized, setBeanName, setCaption, setCommandServices, setDefaultFaceDescriptorId, setFaceDescriptor, setFaceDescriptor, setFaceDescriptorRegistry, setFaceDescriptors, setIcon, setIconInfo, setId, setLabel, setLabel, setSecurityControllerId, 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

ExclusiveCommandGroup

public ExclusiveCommandGroup()

ExclusiveCommandGroup

public ExclusiveCommandGroup(String groupId)

ExclusiveCommandGroup

public ExclusiveCommandGroup(String groupId,
                             CommandFaceDescriptor faceDescriptor)

ExclusiveCommandGroup

public ExclusiveCommandGroup(String groupId,
                             CommandRegistry commandRegistry)

ExclusiveCommandGroup

public ExclusiveCommandGroup(String id,
                             String encodedLabel)

ExclusiveCommandGroup

public ExclusiveCommandGroup(String id,
                             String encodedLabel,
                             Icon icon,
                             String caption)
Method Detail

setAllowsEmptySelection

public void setAllowsEmptySelection(boolean allowsEmptySelection)

getAllowsEmptySelection

public boolean getAllowsEmptySelection()

getSelectionController

protected ExclusiveCommandGroupSelectionController getSelectionController()

isAllowedMember

public boolean isAllowedMember(AbstractCommand prospectiveMember)
Overrides:
isAllowedMember in class CommandGroup


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