|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupFactory
This factory interface is used by the library when ever a new GroupCommand is required.
The factory can be configured by calling CommandManager.setGroupFactory(org.pietschy.command.GroupFactory)
.
Method Summary | |
---|---|
CommandGroup |
createGroup(CommandManager commandManager)
Creates a new anonymous group that uses the specified container. |
CommandGroup |
createGroup(CommandManager commandManager,
java.lang.String commandId)
Creates a new group with the specified Id that uses the specified container. |
ToggleCommandGroup |
createToggleGroup(CommandManager commandManager)
Creates a new anonymous exclusive group that uses
the specified container. |
ToggleCommandGroup |
createToggleGroup(CommandManager commandManager,
java.lang.String commandId)
Creates a new exclusive group with the specified Id that uses
the specified container. |
Method Detail |
---|
CommandGroup createGroup(CommandManager commandManager)
commandManager
- the CommandManager
the group is to use.
CommandGroup createGroup(CommandManager commandManager, java.lang.String commandId)
commandId
- the Id of the groupcommandManager
- the CommandManager
the group is to use.
ToggleCommandGroup createToggleGroup(CommandManager commandManager)
exclusive group
that uses
the specified container.
commandManager
- the CommandManager
the group is to use.
ToggleCommandGroup createToggleGroup(CommandManager commandManager, java.lang.String commandId)
exclusive group
with the specified Id that uses
the specified container.
commandId
- the Id of the groupcommandManager
- the CommandManager
the group is to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |