Package 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
Modifier and TypeMethodDescriptionGets the component that renders the frame.Gets the content document.Gets theHtmlRendererContext
of the frame.void
Loads a URL in the frame.void
setDefaultMarginInsets
(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 Details
-
getComponent
Component getComponent()Gets the component that renders the frame. This can be aHtmlPanel
. -
loadURL
Loads a URL in the frame. -
getContentDocument
Document getContentDocument()Gets the content document. -
getHtmlRendererContext
HtmlRendererContext getHtmlRendererContext()Gets theHtmlRendererContext
of the frame. -
setDefaultMarginInsets
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 inRenderState
.
-
setDefaultOverflowY
void setDefaultOverflowY(int overflowY) Sets the default vertical overflow of the browser frame.- Parameters:
overflowY
- See constants inRenderState
.
-