public interface ExternalURLHandler
AutoCompletion
, and
open the URL in a web browser yourself.
Alternatively, folks implementing robust code completion support for a
language might install an ExternalURLHandler
to handle
navigating through linked documentation of objects, functions, etc.
AutoCompletion.setExternalURLHandler(ExternalURLHandler)
限定符和类型 | 方法和说明 |
---|---|
void |
urlClicked(javax.swing.event.HyperlinkEvent e,
Completion c,
DescWindowCallback callback)
Called when an external URL is clicked in the description window.
|
void urlClicked(javax.swing.event.HyperlinkEvent e, Completion c, DescWindowCallback callback)
e
- The event containing the hyperlink clicked.c
- The completion currently being displayed.callback
- Allows you to display new content in the description
window.