org.lobobrowser.html
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 Summary
 java.awt.Component getComponent()
          Gets the component that renders the frame.
 org.w3c.dom.Document getContentDocument()
          Gets the content document.
 HtmlRendererContext getHtmlRendererContext()
          Gets the HtmlRendererContext of the frame.
 void loadURL(java.net.URL url)
          Loads a URL in the frame.
 void setDefaultMarginInsets(java.awt.Insets insets)
          Sets the default margin insets of the browser frame.
 void setDefaultOverflowX(int overflowX)
          Sets the default horizontal overflow of the browser frame.
 void setDefaultOverflowY(int overflowY)
          Sets the default vertical overflow of the browser frame.
 

Method Detail

getComponent

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


loadURL

void loadURL(java.net.URL url)
Loads a URL in the frame.


getContentDocument

org.w3c.dom.Document getContentDocument()
Gets the content document.


getHtmlRendererContext

HtmlRendererContext getHtmlRendererContext()
Gets the HtmlRendererContext of the frame.


setDefaultMarginInsets

void setDefaultMarginInsets(java.awt.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.


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Cobra Project Home]