public final class PassThroughIdeFocusManager extends IdeFocusManager
Disposable.Parent| Constructor and Description | 
|---|
| PassThroughIdeFocusManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doWhenFocusSettlesDown(ExpirableRunnable runnable)Executes given runnable after all focus activities are finished. | 
| void | doWhenFocusSettlesDown(java.lang.Runnable runnable)Executes given runnable after all focus activities are finished. | 
| void | doWhenFocusSettlesDown(java.lang.Runnable runnable,
                      ModalityState modality)Executes given runnable after all focus activities are finished, immediately or later with the given modality state. | 
| java.awt.Component | getFocusedDescendantFor(java.awt.Component component)Finds focused component among descendants of the given component. | 
| java.awt.Component | getFocusOwner()Computes effective focus owner. | 
| javax.swing.JComponent | getFocusTargetFor(javax.swing.JComponent component)Finds most suitable component to request focus to. | 
| static PassThroughIdeFocusManager | getInstance() | 
| java.awt.Component | getLastFocusedFor(java.awt.Window frame)Returns last focused component for the given IDE  Window. | 
| IdeFrame | getLastFocusedFrame()Returns last focused  IdeFrame. | 
| java.awt.Window | getLastFocusedIdeWindow() | 
| boolean | isFocusTransferEnabled()Reports of focus transfer is enabled right now. | 
| ActionCallback | requestFocus(java.awt.Component c,
            boolean forced)Requests focus on a component | 
| void | runOnOwnContext(DataContext context,
               java.lang.Runnable runnable)Runs runnable for which  DataContextwill not be computed from the current focus owner,
 but using given one. | 
| void | setTypeaheadEnabled(boolean enabled)Enables or disables typeahead. | 
| void | toFront(javax.swing.JComponent c)Put the container window to front. | 
dispose, findInstance, findInstanceByComponent, findInstanceByContext, getFurtherRequestor, getGlobalInstance, getInstance, requestDefaultFocus, requestFocusInProject, typeAheadUntil, typeAheadUntilpublic static PassThroughIdeFocusManager getInstance()
public ActionCallback requestFocus(java.awt.Component c, boolean forced)
FocusRequestorc - - component to request focus toforced - - if true - focus request is explicit, must be fulfilled, if false - can be droppedpublic javax.swing.JComponent getFocusTargetFor(javax.swing.JComponent component)
IdeFocusManagergetFocusTargetFor in class IdeFocusManagerpublic void doWhenFocusSettlesDown(java.lang.Runnable runnable)
IdeFocusManagerdoWhenFocusSettlesDown in class IdeFocusManagerpublic void doWhenFocusSettlesDown(java.lang.Runnable runnable,
                                   ModalityState modality)
IdeFocusManagerdoWhenFocusSettlesDown in class IdeFocusManagerpublic void doWhenFocusSettlesDown(ExpirableRunnable runnable)
IdeFocusManagerdoWhenFocusSettlesDown in class IdeFocusManagerpublic java.awt.Component getFocusedDescendantFor(java.awt.Component component)
IdeFocusManagergetFocusedDescendantFor in class IdeFocusManagerpublic boolean isFocusTransferEnabled()
IdeFocusManagerFocusCommand can be executed on an inactive app.isFocusTransferEnabled in class IdeFocusManagerpublic void setTypeaheadEnabled(boolean enabled)
IdeFocusManagersetTypeaheadEnabled in class IdeFocusManagerIdeFocusManager.typeAheadUntil(ActionCallback)public java.awt.Component getFocusOwner()
IdeFocusManagergetFocusOwner in class IdeFocusManagerpublic void runOnOwnContext(DataContext context, java.lang.Runnable runnable)
IdeFocusManagerDataContext will not be computed from the current focus owner,
 but using given one.runOnOwnContext in class IdeFocusManagerpublic java.awt.Component getLastFocusedFor(java.awt.Window frame)
IdeFocusManagerWindow.
 Only IDE window (that's implementing IdeFrame).getLastFocusedFor in class IdeFocusManagerpublic IdeFrame getLastFocusedFrame()
IdeFocusManagerIdeFrame.getLastFocusedFrame in class IdeFocusManagerpublic java.awt.Window getLastFocusedIdeWindow()
getLastFocusedIdeWindow in class IdeFocusManagerpublic void toFront(javax.swing.JComponent c)
IdeFocusManagerwindow.toFront().toFront in class IdeFocusManager