Example usage for Java com.intellij.openapi.ui.popup ListPopup fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addListener(@NotNull JBPopupListener listener) |
void | addListSelectionListener(ListSelectionListener listSelectionListener) |
void | cancel() Cancels the popup as if Esc was pressed or any other "cancel" action. |
JComponent | getContent() Returns the Swing component contained in the popup. |
boolean | isDisposed() |
boolean | isVisible() Checks if the popup is currently visible. |
void | setMinimumSize(@Nullable Dimension size) |
void | show(@NotNull RelativePoint point) Shows the popup at the specified point. |
void | showCenteredInCurrentWindow(@NotNull Project project) Shows the popup in the center of the active window in the IDE frame for the specified project. |
void | showInBestPositionFor(@NotNull DataContext dataContext) Shows the popup in the position most appropriate for the specified data context. |
void | showInCenterOf(@NotNull Component component) Shows the popup in the center of the specified component. |
void | showInFocusCenter() Shows the popups in the center of currently focused component |
void | showInScreenCoordinates(@NotNull Component owner, @NotNull Point point) |
void | showUnderneathOf(@NotNull Component componentUnder) Shows the popup at the bottom left corner of the specified component. |