bibliothek.gui.dock.focus
Interface DockableSelectionListener


public interface DockableSelectionListener

This listener is added to a DockableSelection and gets informed when the user selects an element or cancels the selection.

Author:
Benjamin Sigg

Method Summary
 void canceled()
          Called when the user cancels the operation.
 void considering(Dockable dockable)
          Called when an element is selected, but the selection is not yet confirmed.
 void selected(Dockable dockable)
          Called when an element is selected and the selection confirmed.
 

Method Detail

considering

void considering(Dockable dockable)
Called when an element is selected, but the selection is not yet confirmed.

Parameters:
dockable - the currently selected element, can be null

selected

void selected(Dockable dockable)
Called when an element is selected and the selection confirmed.

Parameters:
dockable - the selected element, not null

canceled

void canceled()
Called when the user cancels the operation.