FocusAdapter

This adapter class provides default implementations for the methods described by the <code>FocusListener</code> interface. <p> Classes that wish to deal with <code>FocusEvent</code>s can extend this class and override only the methods which they are interested in. </p>

@see FocusListener @see FocusEvent @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

Members

Functions

focusGained
void focusGained(FocusEvent e)

Sent when a control gets focus. The default behavior is to do nothing.

focusLost
void focusLost(FocusEvent e)

Sent when a control loses focus. The default behavior is to do nothing.

Inherited Members

From FocusListener

focusGained
void focusGained(FocusEvent e)

Sent when a control gets focus.

focusLost
void focusLost(FocusEvent e)

Sent when a control loses focus.

Meta