Class FocusTracker
java.lang.Object
org.pentaho.reporting.libraries.designtime.swing.FocusTracker
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
ModifierConstructorDescriptionprotected
Creates a new focus-tracker and registers it on the permanent-focus-owner property. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
A notifier method that is called whenever the permanentFocusOwner property changed.
-
Constructor Details
-
FocusTracker
protected FocusTracker()Creates a new focus-tracker and registers it on the permanent-focus-owner property.
-
-
Method Details
-
focusChanged
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.
-