public final class WindowWatcher
extends java.lang.Object
implements java.beans.PropertyChangeListener
Modifier and Type | Method and Description |
---|---|
void |
doNotSuggestAsParent(java.awt.Window window) |
java.awt.Component |
getFocusedComponent(Project project) |
java.awt.Component |
getFocusedComponent(java.awt.Window window) |
java.awt.Window |
getFocusedWindow() |
FocusWatcher |
getFocusWatcherFor(java.awt.Component c) |
void |
propertyChange(java.beans.PropertyChangeEvent e)
This method should get notifications about changes of focused window.
|
java.awt.Window |
suggestParentWindow(Project project,
WindowManagerEx windowManager) |
public final void propertyChange(java.beans.PropertyChangeEvent e)
focusedWindow
property is acceptable.propertyChange
in interface java.beans.PropertyChangeListener
java.lang.IllegalArgumentException
- if property name isn't focusedWindow
.public final java.awt.Window getFocusedWindow()
public final java.awt.Component getFocusedComponent(Project project)
public final java.awt.Component getFocusedComponent(java.awt.Window window)
public FocusWatcher getFocusWatcherFor(java.awt.Component c)
public final java.awt.Window suggestParentWindow(Project project, WindowManagerEx windowManager)
project
- may be null (for example, if no projects are opened)public final void doNotSuggestAsParent(java.awt.Window window)