|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.group.impl.AbstractGroupMember
com.pietschy.command.group.impl.AbstractCommandMember
public abstract class AbstractCommandMember
The base implementation for GroupMembers that insert commands.
| Constructor Summary | |
|---|---|
AbstractCommandMember(CommandGroup parent,
Command command)
Creates a new member for the specified command in the specified parent. |
|
| Method Summary | |
|---|---|
void |
addNotify()
Invoked to notify that this member has been added to its parent group. |
Command |
getCommand()
Gets the command this member represents. |
java.lang.Object |
getId()
Gets the Id of this member. |
CommandGroup |
getParent()
Gets the parent group that contains this member. |
void |
removeNotify()
Invoked to notify that this member has been removed from its parent group. |
int |
size()
Gets the size of this member. |
| Methods inherited from class com.pietschy.command.group.impl.AbstractGroupMember |
|---|
addChangeListener, fireChanged, notifyCommandContainerHierarchyChanged, removeChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.pietschy.command.group.impl.GroupMember |
|---|
acceptVisitor, addComponentTo, isMemberFor |
| Constructor Detail |
|---|
public AbstractCommandMember(CommandGroup parent,
Command command)
parent - the group that will contain the member.command - the command to be included.| Method Detail |
|---|
public java.lang.Object getId()
public void addNotify()
GroupMember
public void removeNotify()
GroupMember
public int size()
GroupMember#addComponentTo(JComponent, Factory, String, List, int) .
This method should only include real members, i.e. not dynamic members that haven't been resolved.
public Command getCommand()
public CommandGroup getParent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||