bibliothek.gui.dock.common.event
Interface CFocusListener


public interface CFocusListener

A CFocusListener gets informed when a CDockable gains or looses the focus, or is selected or deselected by its parent.

Author:
Benjamin Sigg
See Also:
CDockable.addFocusListener(CFocusListener), CDockable.removeFocusListener(CFocusListener), CControl.addFocusListener(CFocusListener), CControl.removeFocusListener(CFocusListener)

Method Summary
 void focusGained(CDockable dockable)
          Called when dockable gains the focus.
 void focusLost(CDockable dockable)
          Called when dockable lost its focus.
 

Method Detail

focusGained

void focusGained(CDockable dockable)
Called when dockable gains the focus.

Parameters:
dockable - the element which just gained the focus

focusLost

void focusLost(CDockable dockable)
Called when dockable lost its focus.

Parameters:
dockable - the element which just lost the focus