IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.gui
Class SpFocusTracker

java.lang.Object
  extended bycom.ibm.dse.gui.SpFocusTracker

public class SpFocusTracker
extends java.lang.Object

The SpFocusTracker class detects which is the las component of a parent component that had the focus.


Constructor Summary
SpFocusTracker(java.awt.Component root)
          This constructor creates a SpFocusTracker object.
 
Method Summary
 java.awt.Component getLastFocused()
          Gets the name of the last focused component.
protected  void handleFocusGained(java.awt.event.FocusEvent evt)
          Handles the component with the focus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpFocusTracker

public SpFocusTracker(java.awt.Component root)
This constructor creates a SpFocusTracker object.

Parameters:
root - java.awt.Component
Method Detail

handleFocusGained

protected void handleFocusGained(java.awt.event.FocusEvent evt)
Handles the component with the focus

Parameters:
evt - FocusEvent

getLastFocused

public java.awt.Component getLastFocused()
Gets the name of the last focused component.

Returns:
Component

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005