public final class Completion extends Object
Modifier and Type | Method and Description |
---|---|
static Completion |
get()
Get the singleton instance of this class.
|
void |
hideAll()
Hide either of the possibly opened code completion,
documentation or tooltip windows.
|
void |
hideCompletion()
Hide a completion popup window if it's opened.
|
void |
hideDocumentation()
Hides a documentation popup window if it's opened.
|
void |
hideToolTip()
Hides a tooltip popup window if it's opened.
|
void |
showCompletion()
Request showing of the code completion popup
for the currently focused text component.
|
void |
showDocumentation()
Request showing of the documentation popup
for the currently focused text component.
|
void |
showToolTip()
Request showing of the tooltip popup
for the currently focused text component.
|
public static Completion get()
public void showCompletion()
This method can be called from any thread but when called outside of AWT the request will be rescheduled into AWT.
public void hideCompletion()
This method can be called from any thread. The cancelling of the possibly running tasks is done synchronously and the GUI will be updated in the AWT thread.
public void showDocumentation()
This method can be called from any thread but when called outside of AWT the request will be rescheduled into AWT.
public void hideDocumentation()
This method can be called from any thread. The cancelling of the possibly running tasks is done synchronously and the GUI will be updated in the AWT thread.
public void showToolTip()
This method can be called from any thread but when called outside of AWT the request will be rescheduled into AWT.
public void hideToolTip()
This method can be called from any thread. The cancelling of the possibly running tasks is done synchronously and the GUI will be updated in the AWT thread.
public void hideAll()