GroupPlugs allows you to build a modular GroupStrategy out of
routines you already implemented.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterGroup(int group)
Implements com. Invoked directly after rendering of a group has completed |
| public void | beforeGroup(int group, Array<Decal> contents)
Implements com. Invoked directly before rendering the contents of a group |
| public void | |
| public GroupPlug | Returns: removed plug, null if there was none for that groupGroup to remove the plug from group)Remove a plug from the strategy |
| plugs | back to summary |
|---|---|
| private IntMap<GroupPlug> plugs | |
| PluggableGroupStrategy | back to summary |
|---|---|
| public PluggableGroupStrategy() | |
| afterGroup | back to summary |
|---|---|
| public void afterGroup(int group) Implements com. Doc from com. Invoked directly after rendering of a group has completed
| |
| beforeGroup | back to summary |
|---|---|
| public void beforeGroup(int group, Array<Decal> contents) Implements com. Doc from com. Invoked directly before rendering the contents of a group
| |
| plugIn | back to summary |
|---|---|
| public void plugIn(GroupPlug plug, int group) Set the plug used for a specific group. The plug will automatically be invoked.
| |
| unPlug | back to summary |
|---|---|
| public GroupPlug unPlug(int group) Remove a plug from the strategy
| |