Package org.fife.ui.autocomplete
Interface LinkRedirector
public interface LinkRedirector
Possibly redirects one URL to another. Useful if you want "external" URLs
in code completion documentation to point to a local copy instead, for
example.
-
Method Summary
Modifier and TypeMethodDescriptionpossiblyRedirect(URL original) Hook to return an alternate URL to navigate to when a URL is clicked in anRSyntaxTextAreainstance.
-
Method Details
-
possiblyRedirect
Hook to return an alternate URL to navigate to when a URL is clicked in anRSyntaxTextAreainstance.- Parameters:
original- The original URL, e.g. from aHyperlinkEvent.- Returns:
- The link to redirect to, or
nullif the original URL should still be used.
-