Interface URLContext

  • All Superinterfaces:
    AutoCloseable, Closeable, GUIContext
    All Known Implementing Classes:
    RemoteHTMLContext, SwtUrlContext, TransferredURLContext

    public interface URLContext
    extends GUIContext
    A URLContext just provides an URL. This can be used for instance to provide an HTMLContext remotely. That is, the HTMLContext is created locally but since it relies on threads and handles events, it is not serialisable. However, its URL can be called remotely and thus, when serialised it is replaced by this class which provides the URL only.
    • Method Detail

      • getURL

        URL getURL()
        Gets the URL of the (remote) HTMLContext which provides the GUI.
        Returns:
        The URL of the (remote) HTMLContext which provides the GUI.