bibliothek.gui.dock.event
Interface DockTitleBindingListener


public interface DockTitleBindingListener

A listener added to a DockController, receives notifications when a DockTitle is bound or unbound.

Author:
Benjamin Sigg

Method Summary
 void titleBound(DockController controller, DockTitle title, Dockable dockable)
          Called when title was bound to dockable.
 void titleUnbound(DockController controller, DockTitle title, Dockable dockable)
          Called when title was unbound from dockable.
 

Method Detail

titleBound

void titleBound(DockController controller,
                DockTitle title,
                Dockable dockable)
Called when title was bound to dockable. This method is called after the DockTitle.bind()-method was invoked.

Parameters:
controller - the origin of the event
title - the DockTitle that was bound
dockable - the owner of title

titleUnbound

void titleUnbound(DockController controller,
                  DockTitle title,
                  Dockable dockable)
Called when title was unbound from dockable. This method is called after the DockTitle.bind()-method was invoked.

Parameters:
controller - the origin of the event
title - the DockTitle which was unbound
dockable - the old owner of title