Java com.intellij.openapi.ui.popup JBPopup fields, constructors, methods, implement or subclass

Example usage for Java com.intellij.openapi.ui.popup JBPopup fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.intellij.openapi.ui.popup JBPopup.

The text is from its open source code.

Implementation

com.intellij.openapi.ui.popup.JBPopup has the following implementations.
Click this link to see all its implementation.

Method

voidaddListener(@NotNull JBPopupListener listener)
voidcancel()
Cancels the popup as if Esc was pressed or any other "cancel" action.
voidcloseOk(@Nullable InputEvent e)
Hides popup as if Enter was pressed or or any other "accept" action.
booleandispatchKeyEvent(@NotNull KeyEvent e)
This callback is called when new key event from the event queue is being processed.
JComponentgetContent()
Returns the Swing component contained in the popup.
PointgetLocationOnScreen()
DimensiongetSize()
booleanisDisposed()
booleanisFocused()
booleanisNativePopup()
booleanisPersistent()
booleanisVisible()
Checks if the popup is currently visible.
voidsetMinimumSize(@Nullable Dimension size)
voidsetSize(@NotNull Dimension size)
voidsetUiVisible(boolean visible)
voidshow(@NotNull RelativePoint point)
Shows the popup at the specified point.
voidshow(@NotNull Component owner)
Shows in best position with a given owner
voidshowCenteredInCurrentWindow(@NotNull Project project)
Shows the popup in the center of the active window in the IDE frame for the specified project.
voidshowInBestPositionFor(@NotNull DataContext dataContext)
Shows the popup in the position most appropriate for the specified data context.
voidshowInBestPositionFor(@NotNull Editor editor)
Shows the popup near the cursor location in the specified editor.
voidshowInCenterOf(@NotNull Component component)
Shows the popup in the center of the specified component.
voidshowInFocusCenter()
Shows the popups in the center of currently focused component
voidshowInScreenCoordinates(@NotNull Component owner, @NotNull Point point)
voidshowUnderneathOf(@NotNull Component componentUnder)
Shows the popup at the bottom left corner of the specified component.