org.springframework.richclient.command
Class SeparatorGroupMember

java.lang.Object
  extended by org.springframework.richclient.command.GroupMember
      extended by org.springframework.richclient.command.SeparatorGroupMember

public class SeparatorGroupMember
extends GroupMember

A command group member that represents a separator between other members of the group.


Field Summary
 
Fields inherited from class org.springframework.richclient.command.GroupMember
logger
 
Constructor Summary
SeparatorGroupMember()
          Creates a new SeparatorGroupMember.
 
Method Summary
protected  void fill(GroupContainerPopulator container, Object factory, CommandButtonConfigurer configurer, List previousButtons)
          Asks the given container populator to add a separator to its underlying container.
 boolean managesCommand(String commandId)
          Always returns false.
 void setEnabled(boolean enabled)
          Default implementation, performs no operation.
 
Methods inherited from class org.springframework.richclient.command.GroupMember
getCommand, onAdded, onRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeparatorGroupMember

public SeparatorGroupMember()
Creates a new SeparatorGroupMember.

Method Detail

fill

protected void fill(GroupContainerPopulator container,
                    Object factory,
                    CommandButtonConfigurer configurer,
                    List previousButtons)
Asks the given container populator to add a separator to its underlying container.

Specified by:
fill in class GroupMember
Parameters:
container - The object responsible for populating a GUI container with an appropriate control component based on this instance. Must not be null.
factory - The factory for creating an appropriate GUI control that the underlying command will be associated with.
configurer - The object that is to configure the newly created control component.
previousButtons - A list of AbstractButton instances that have already been added to the container. May be null or empty.

managesCommand

public final boolean managesCommand(String commandId)
Always returns false.

Specified by:
managesCommand in class GroupMember
Parameters:
commandId - The id of the command to be checked for. May be null.
Returns:
false always.

setEnabled

public void setEnabled(boolean enabled)
Default implementation, performs no operation.

Specified by:
setEnabled in class GroupMember
Parameters:
enabled - The enabled flag.


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