Interface BrowserFrame

All Known Implementing Classes:
SimpleBrowserFrame

public interface BrowserFrame
The BrowserFrame interface represents a browser frame. A simple implementation of this interface is provided in SimpleBrowserFrame.
  • Method Details

    • getComponent

      Component getComponent()
      Gets the component that renders the frame. This can be a HtmlPanel.
    • loadURL

      void loadURL(URL url)
      Loads a URL in the frame.
    • getContentDocument

      Document getContentDocument()
      Gets the content document.
    • getHtmlRendererContext

      HtmlRendererContext getHtmlRendererContext()
      Gets the HtmlRendererContext of the frame.
    • setDefaultMarginInsets

      void setDefaultMarginInsets(Insets insets)
      Sets the default margin insets of the browser frame.
      Parameters:
      insets - The margin insets.
    • setDefaultOverflowX

      void setDefaultOverflowX(int overflowX)
      Sets the default horizontal overflow of the browser frame.
      Parameters:
      overflowX - See constants in RenderState.
    • setDefaultOverflowY

      void setDefaultOverflowY(int overflowY)
      Sets the default vertical overflow of the browser frame.
      Parameters:
      overflowY - See constants in RenderState.