Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
JComponent
org.lobobrowser.html.gui.HtmlPanel
org.lobobrowser.html.test.SimpleBrowserFrame
SimpleBrowserFrame
class implements
the BrowserFrame
interface.
It represents a browser frame component.
Constructor Summary | |
|
Method Summary | |
protected HtmlRendererContext |
|
Component |
|
Document |
|
HtmlRendererContext |
|
HtmlRendererContext | |
void |
|
Methods inherited from class org.lobobrowser.html.gui.HtmlPanel | |
addSelectionChangeListener , clearDocument , copy , createFrameSetPanel , createHtmlBlockPanel , delayedRelayout , expandSelection , getBlockRenderable , getFrameSetPanel , getRootNode , getSelectionNode , getSelectionText , hasSelection , removeSelectionChangeListener , resetSelection , scroll , scrollTo , scrollTo , scrollToElement , setDocument , setHtml , setPreferredWidth |
protected HtmlRendererContext createHtmlRendererContext(HtmlRendererContext parentRcontext)
Creates theHtmlRendererContext
associated with this browser frame. Override to use a specialized instance.
- Parameters:
parentRcontext
- The parent context.
public Component getComponent()
Gets the component that renders the frame. This can be aHtmlPanel
.
- Specified by:
- getComponent in interface BrowserFrame
public Document getContentDocument()
Gets the content document.
- Specified by:
- getContentDocument in interface BrowserFrame
public HtmlRendererContext getHtmlRendererContext()
Gets theHtmlRendererContext
of the frame.
- Specified by:
- getHtmlRendererContext in interface BrowserFrame
public void loadURL(URL url)
Loads a URL in the frame.
- Specified by:
- loadURL in interface BrowserFrame