Class CDockableLocationListenerManager

java.lang.Object
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 instantiate this class directly, they should add a CDockableLocationListener to a CDockable instead.
Author:
Benjamin Sigg
  • Constructor Details

    • CDockableLocationListenerManager

      public CDockableLocationListenerManager(CDockable dockable)
      Creates a new manager
      Parameters:
      dockable - the dockable to monitor
  • Method Details

    • setListener

      public void setListener(CDockableLocationListener listener)
      Sets the listener which will be informed about changes.
      Parameters:
      listener - the listener, can be null