bibliothek.gui.dock.station.stack
Interface StackDnDAutoSelectSupport

All Known Implementing Classes:
DnDAutoSelectSupport

public interface StackDnDAutoSelectSupport

Generic algorithm allowing StackDockComponents to inform the client if the user drags some data over a tab. The interface itself only offers an install(StackDockStation, StackDockComponent) and uninstall(StackDockComponent) method - what exactly the subclass does with the StackDockComponent is not defined.
An implementation of this interface is automatically installed if the application runs with Java 1.6 or higher.

Author:
Benjamin Sigg

Method Summary
 void install(StackDockStation station, StackDockComponent component)
          Called if a StackDockComponent has been bound to a DockController.
 void uninstall(StackDockComponent component)
          Called if a StackDockComponent has been removed from a DockController.
 

Method Detail

install

void install(StackDockStation station,
             StackDockComponent component)
Called if a StackDockComponent has been bound to a DockController.

Parameters:
station - the station on which component is shown
component - the component that was bound

uninstall

void uninstall(StackDockComponent component)
Called if a StackDockComponent has been removed from a DockController.

Parameters:
component - the component that was removed