com.pietschy.command
Interface BindingSupportCallback


public interface BindingSupportCallback

Callback for BindingSupport that implements the instance specific binding operations.


Method Summary
 void bindToContainer(CommandContainer container)
          Invoked to bind to the specified container.
 void notifyCommandContainerHierarchyChanged()
          Invoked to notify that a change in the container heirarchy has occured either via a binding operation or because a container parent has been changed.
 void unbindFromContainer(CommandContainer container)
          Invoked to unbind from the specified container.
 

Method Detail

bindToContainer

void bindToContainer(CommandContainer container)
Invoked to bind to the specified container.

Parameters:
container - the container to bind to.

unbindFromContainer

void unbindFromContainer(CommandContainer container)
Invoked to unbind from the specified container.

Parameters:
container - the container to bind to.

notifyCommandContainerHierarchyChanged

void notifyCommandContainerHierarchyChanged()
Invoked to notify that a change in the container heirarchy has occured either via a binding operation or because a container parent has been changed.

This method will be invoked after both bindToContainer(CommandContainer) and unbindFromContainer(CommandContainer).



Copyright © 2006 - 2007 Andrew Pietsch