java.lang.Object
org.pentaho.reporting.libraries.designtime.swing.FocusTracker

public abstract class FocusTracker extends Object
A base class for implementations that have to track the current keyboard focus. This class takes care of all change events regarding the focus-manager and channels all focus-change events through a single update method.
Author:
Thomas Morgner
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates a new focus-tracker and registers it on the permanent-focus-owner property.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    A notifier method that is called whenever the permanentFocusOwner property changed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FocusTracker

      protected FocusTracker()
      Creates a new focus-tracker and registers it on the permanent-focus-owner property.
  • Method Details

    • focusChanged

      protected abstract void focusChanged(Component c)
      A notifier method that is called whenever the permanentFocusOwner property changed.
      Parameters:
      c - the component that has the focus, or null if no component in this application has the focus.