org.pietschy.command
Interface GroupMember

All Known Subinterfaces:
ExpansionGroupMember
All Known Implementing Classes:
AbstractGroupMember

public interface GroupMember

GroupMembers are responsible for managing the children of a CommandGroup. Members provide a layer of abstraction that allows for the lazy addition of children to a group as well as providing customized control over how children are rendered within the groups container, for example inline groups.

Version:
$Revision: 1.11 $
Author:
andrewp

Method Summary
 void acceptVisitor(GroupVisitor visitor)
           
 void addComponentTo(javax.swing.JComponent parent, java.lang.Object factory, java.lang.String faceId, java.util.List previousButtons, int buttonIndex)
          This method is responsible for adding this members buttons to the specified container.
 void addNotify()
           
 boolean isDependantOn(Command c)
           
 boolean isMemberFor(Command c)
           
 void removeNotify()
           
 

Method Detail

addComponentTo

void addComponentTo(javax.swing.JComponent parent,
                    java.lang.Object factory,
                    java.lang.String faceId,
                    java.util.List previousButtons,
                    int buttonIndex)
This method is responsible for adding this members buttons to the specified container.

Parameters:
parent -
factory -
faceId -
previousButtons -
buttonIndex -

isMemberFor

boolean isMemberFor(Command c)

isDependantOn

boolean isDependantOn(Command c)

acceptVisitor

void acceptVisitor(GroupVisitor visitor)

addNotify

void addNotify()

removeNotify

void removeNotify()