org.tbee.swing
Class FocusVisualizer

java.lang.Object
  extended by org.tbee.swing.FocusVisualizer
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener

public class FocusVisualizer
extends java.lang.Object
implements java.beans.PropertyChangeListener

This class highlight the Component that currently has the focus.

Version:
$Revision: 1.3 $

Field Summary
protected  boolean iKeyboardFocusManagerRegistered
           
static org.apache.log4j.Logger log4j
           
static java.lang.String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
FocusVisualizer()
          use default border
FocusVisualizer(javax.swing.border.Border border)
          what border to use
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent pce)
          Interprete focus events
 void start()
          start interpreting focus events
 void stop()
          stop interpreting focus events
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final java.lang.String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values

log4j

public static org.apache.log4j.Logger log4j

iKeyboardFocusManagerRegistered

protected boolean iKeyboardFocusManagerRegistered
Constructor Detail

FocusVisualizer

public FocusVisualizer()
use default border


FocusVisualizer

public FocusVisualizer(javax.swing.border.Border border)
what border to use

Method Detail

start

public void start()
start interpreting focus events


stop

public void stop()
stop interpreting focus events


propertyChange

public void propertyChange(java.beans.PropertyChangeEvent pce)
Interprete focus events

Specified by:
propertyChange in interface java.beans.PropertyChangeListener


Copyright © 2010. All Rights Reserved.