Package | Description |
---|---|
oracle.javatools.editor.popup |
The Popup Window package is a subset of the Editor package, and is
used to display popup windows associated with the editor.
|
Modifier and Type | Method and Description |
---|---|
PopupWindow |
PopupWindowManager.createPopup(java.awt.Component content,
boolean focusable)
Create a new
PopupWindow with the given content. |
PopupWindow[] |
PopupWindowManager.getPopupWindows()
Utility routine to fetch the current list of popup windows.
|
Modifier and Type | Method and Description |
---|---|
void |
PopupWindowManager.changePopupContent(PopupWindow popup,
java.awt.Component content,
boolean focusable)
Changes the content within the
PopupWindow . |
void |
PopupWindowManager.dismissPopup(PopupWindow popup)
Dismisses the popup window and any associated resources.
|
void |
PopupWindowListener.editorFocusGained(PopupWindow popupWindow)
Notifies the listener that the editor (or one of its popups) have
regained focus.
|
void |
PopupWindowListener.editorFocusLost(PopupWindow popupWindow,
boolean isTemporary)
Notifies the listener that the editor and any managed popups have
lost focus.
|
void |
PopupWindowListener.popupClosed(PopupWindow popupWindow,
int how)
Notifies the listener that the popup window has been closed.
|
void |
PopupWindowManager.positionPopup(PopupWindow popupWindow,
java.awt.Rectangle relativeToLocation,
int[] preferredLocations)
Set the position of the
PopupWindow relative to the
location specified. |
void |
PopupWindowManager.positionPopup(PopupWindow popupWindow,
java.awt.Rectangle relativeToLocation,
int[] preferredLocations,
boolean center)
Set the position of the
PopupWindow relative to the
location specified. |
void |
PopupWindowManager.showPopup(PopupWindow popup,
PopupWindowListener listener)
Show the
PopupWindow . |