org.pietschy.command
Interface GroupMember
- ExpansionGroupMember
- 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
.
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.
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()