Quaqua 7.4.2 2011-07-05

ch.randelshofer.quaqua
Class QuaquaTextFieldFocusHandler15

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

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

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

This class is here for backwards compatibility with J2SE5.

Version:
$Id: QuaquaTextFieldFocusHandler15.java 361 2010-11-21 11:19:20Z wrandelshofer $
Author:
Werner Randelshofer

Constructor Summary
QuaquaTextFieldFocusHandler15()
          Allow instance creation by UIManager.
 
Method Summary
 void focusGained(java.awt.event.FocusEvent event)
           
 void focusLost(java.awt.event.FocusEvent event)
           
static QuaquaTextFieldFocusHandler15 getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaquaTextFieldFocusHandler15

public QuaquaTextFieldFocusHandler15()
Allow instance creation by UIManager.

Method Detail

getInstance

public static QuaquaTextFieldFocusHandler15 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.