ice.pilots.html4
Interface FocusExitHandler
- public interface FocusExitHandler
Classes implementing this interface should be registered to a
DefaultEventHandler and will receive callbacks whenever its
FocusManager determines that focus is leaving the document.
|
Method Summary |
boolean |
focusExit(int direction)
Called when focus exits the document. |
focusExit
public boolean focusExit(int direction)
- Called when focus exits the document. Its purpose is to
interface with the native window-system and transfer focus
to the desired component based on the direction of focuschange.
- Parameters:
direction - Indicates the direction. Values are one of
FocusManager.UP ,
FocusManager.DOWN ,
FocusManager.LEFT ,
FocusManager.RIGHT ,
FocusManager.NEXT ,
FocusManager.PREVIOUS
- Returns:
- true if focuschange was handled, false otherwise. If
it returns true, the native user-event which triggered the
focuschange will be consumed. Otherwise the event will come back
into the native window-system and be handled there.