Quaqua 5.4.1 2009-07-14

ch.randelshofer.quaqua
Class Quaqua14TextFieldFocusHandler

java.lang.Object
  extended by ch.randelshofer.quaqua.Quaqua14TextFieldFocusHandler
All Implemented Interfaces:
java.awt.event.FocusListener, java.util.EventListener

public class Quaqua14TextFieldFocusHandler
extends java.lang.Object
implements java.awt.event.FocusListener

Quaqua14TextFieldFocusHandler. Selects all text of a JTextComponent, if the user used a keyboard focus traversal key, to transfer the focus on the JTextComponent.

Version:
$Id: Quaqua14TextFieldFocusHandler.java 95 2009-06-26 05:45:25Z wrandelshofer $
Author:
Werner Randelshofer

Method Summary
 void focusGained(java.awt.event.FocusEvent event)
           
 void focusLost(java.awt.event.FocusEvent event)
           
static Quaqua14TextFieldFocusHandler getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Quaqua14TextFieldFocusHandler getInstance()

focusGained

public void focusGained(java.awt.event.FocusEvent event)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent event)
Specified by:
focusLost in interface java.awt.event.FocusListener

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.