org.pietschy.command

Interface GroupMember

Known Subinterfaces:
ExpansionGroupMember
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(JComponent parent, Object factory, String faceId, 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 Details

acceptVisitor

public void acceptVisitor(GroupVisitor visitor)

addComponentTo

public void addComponentTo(JComponent parent,
                           Object factory,
                           String faceId,
                           List previousButtons,
                           int buttonIndex)
This method is responsible for adding this members buttons to the specified container.
Parameters:
parent -
factory -
faceId -
previousButtons -
buttonIndex -

addNotify

public void addNotify()

isDependantOn

public boolean isDependantOn(Command c)

isMemberFor

public boolean isMemberFor(Command c)

removeNotify

public void removeNotify()