Interface BrowserNavigationCallback
public interface BrowserNavigationCallback
**Important: Calls to this interface are always performed on a separate thread from the EDT! They are performed on the native webkit rendering thread or native event dispatch thread, this interface MUST NEVER block or synchronize against the EDT which WILL lead to deadlocks. **
This interface can be used to bind functionality to URL navigation which is a very portable way to invoke Java functionality from the JavaScript side of things.
This interface should be applied to the BrowserComponent or WebBrowser class.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldNavigate(String url) **Important: Calls to this interface are always performed on a separate thread from the EDT! They are performed on the native webkit rendering thread or native event dispatch thread, this interface MUST NEVER block or synchronize against the EDT which WILL lead to deadlocks.
-
Method Details