bibliothek.gui.dock.common.intern
Class CDockableLocationListenerManager

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.CDockableLocationListenerManager

@FrameworkOnly
public class CDockableLocationListenerManager
extends Object

Helps CDockables to keep track of their location and can automatically fire events to a CDockableLocationListener.
Clients should not instanciate this class directly, they should add a CDockableLocationListener to a CDockable instead.

Author:
Benjamin Sigg

Constructor Summary
CDockableLocationListenerManager(CDockable dockable)
          Creates a new manager
 
Method Summary
 void setListener(CDockableLocationListener listener)
          Sets the listener which will be informed about changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDockableLocationListenerManager

public CDockableLocationListenerManager(CDockable dockable)
Creates a new manager

Parameters:
dockable - the dockable to monitor
Method Detail

setListener

public void setListener(CDockableLocationListener listener)
Sets the listener which will be informed about changes.

Parameters:
listener - the listener, can be null