org.pietschy.command
Class DefaultGroupContainerManager

java.lang.Object
  extended by org.pietschy.command.GroupContainerManager
      extended by org.pietschy.command.DefaultGroupContainerManager

public class DefaultGroupContainerManager
extends GroupContainerManager

Provides a default implementation of GroupContainerManager that removes all elemnents and rebuilds from scratch. Before rebulding, the existing buttons are cached so they can be re-used by the new members if possible.

Version:
$Revision: 1.3 $
Author:
andrewp

Field Summary
 
Fields inherited from class org.pietschy.command.GroupContainerManager
log
 
Constructor Summary
DefaultGroupContainerManager()
           
 
Method Summary
protected  void clearContainer()
           
 void rebuildPopupUsing(java.util.Collection members)
          Called to trigger the manager to rebuild its container using the specified collection of GroupMembers.
 
Methods inherited from class org.pietschy.command.GroupContainerManager
configure, getFaceId, getFactory, getItemContainer, initialise, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultGroupContainerManager

public DefaultGroupContainerManager()
Method Detail

rebuildPopupUsing

public void rebuildPopupUsing(java.util.Collection members)
Description copied from class: GroupContainerManager
Called to trigger the manager to rebuild its container using the specified collection of GroupMembers.

Specified by:
rebuildPopupUsing in class GroupContainerManager
Parameters:
members - the current members of the group.

clearContainer

protected void clearContainer()