Example usage for com.intellij.openapi.ui.popup JBPopup isFocused

List of usage examples for com.intellij.openapi.ui.popup JBPopup isFocused

Introduction

In this page you can find the example usage for com.intellij.openapi.ui.popup JBPopup isFocused.

Prototype

boolean isFocused();

Source Link

Usage

From source file:com.intellij.ui.popup.StackingPopupDispatcherImpl.java

License:Apache License

private JBPopup getFocusedPopup() {
    for (JBPopup each : myAllPopups) {
        if (each != null && each.isFocused())
            return each;
    }//from w  w  w. j  ava  2s. co  m
    return null;
}