|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExpansionPointBuilder
Interface for managing the members of an expasion point.
| Method Summary | |
|---|---|
void |
add(ActionCommand command)
Adds the specified command to the expansion point. |
void |
add(CommandGroup group)
Adds the specified group to the expansion point. |
void |
addEmbedded(CommandGroup group,
java.util.Comparator<CommandGroup> comparator)
Adds the specified group as an embedded member of the parent group. |
void |
addEmbedded(CommandGroup group,
java.lang.String context)
Adds the specified group as an embedded member of the parent group. |
void |
addInline(CommandGroup group)
Adds the specified group as an inline member of the expansion point. |
void |
applyChanges()
Applies the current builder state to the group and discards the builder. |
void |
clear()
Clears the expansion point. |
void |
discard()
Discards the builder without updating the expansion point. |
void |
remove(ActionCommand command)
Removes the specified command from the expansion point. |
void |
remove(CommandGroup group)
Removes the specified group from the expansion point. |
| Method Detail |
|---|
void add(ActionCommand command)
command - the command to add.void add(CommandGroup group)
group - the group to add.void addInline(CommandGroup group)
The group will use it's current binding to locate the actual group instance.
group - the group to add.
void addEmbedded(CommandGroup group,
java.lang.String context)
add(CommandGroup).
group - the group to be embedded.#addEmbedded(CommandGroup, Comparator)
void addEmbedded(CommandGroup group,
java.util.Comparator<CommandGroup> comparator)
add(CommandGroup).
group - the group to be embedded.#addEmbedded(CommandGroup, Comparator) void remove(ActionCommand command)
command - the command to remove.void remove(CommandGroup group)
group - the group to remove.void clear()
void applyChanges()
void discard()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||