Class FocusTracker
- 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
FocusTracker()
Creates a new focus-tracker and registers it on the permanent-focus-owner property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract void
focusChanged(Component c)
A notifier method that is called whenever the permanentFocusOwner property changed.
-
-
-
Method Detail
-
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.
-
-