sk.uniba.euromath.editor
Interface IFocusListener

All Known Implementing Classes:
EditorSite, InputBoxView, MultiViewActionContributor

public interface IFocusListener

Listener that implements this interface handles focus changes in EditorSite - in IEditors.

After creating an instance of a class that implements this interface it can be added to EditorSite using the addFocusListener method and removed using the removeFocusListener method. When a IEditor gains or loses focus, the appropriate method will be invoked.

Author:
Tomáš Studva 22.10.2005

Method Summary
 void focusGained(IEditor editor)
          Sent when IEditor gets focus.
 void focusLost(IEditor editor)
          Sent when IEditor loses focus.
 

Method Detail

focusGained

void focusGained(IEditor editor)
Sent when IEditor gets focus.

Parameters:
editor - which has acquired focus

focusLost

void focusLost(IEditor editor)
Sent when IEditor loses focus.

Parameters:
editor - which has lost focus


Copyright © 2003-2006 null. All Rights Reserved.