aicas logo Jamaica 3.4 release 8

java.awt.event
Interface FocusListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AWTEventMulticaster, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler, FocusAdapter

public interface FocusListener
extends EventListener

This interface is for classes that wish to be notified of changes of keyboard focus for a component. To watch a subset of these events, use a FocusAdapter.

Since:
1.1
See Also:
FocusAdapter, FocusEvent
Status:
updated to 1.4

Method Summary
 void focusGained(FocusEvent event)
          This method is called when a component gains the keyboard focus.
 void focusLost(FocusEvent event)
          This method is invoked when a component loses the keyboard focus.
 

Method Detail

focusGained

void focusGained(FocusEvent event)
This method is called when a component gains the keyboard focus.

Parameters:
event - the FocusEvent indicating that focus was gained

focusLost

void focusLost(FocusEvent event)
This method is invoked when a component loses the keyboard focus.

Parameters:
event - the FocusEvent indicating that focus was lost

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.