ABOUT US

|

SUPPORT

|

BLOG

DOWNLOADS    

 

 

 

 


 

 

Introduction to the WebRenderer Swing Edition SDK API

 

 

 

 

 

 

The WebRenderer API is composed of five core packages:

com.webrenderer.swing
WebRenderer Swing Edition core methods for creating and managing browser instances.
com.webrenderer.swing.event
WebRenderer event classes to capture browser, network, DOM, JavaScript, prompt and other events.
org.w3c.dom
W3C DOM Level 2 API.
com.webrenderer.swing.dom
A basic WebRenderer DOM access and management package.
com.webrenderer.swing.applet
Allows control over the URLStreamHandlerFactory used by applets.

com.webrenderer.swing

The main classes in the com.webrenderer.swing package are BrowserFactory and the IBrowserCanvas interfaces.

Static methods in the BrowserFactory class are used to set up WebRenderer and spawn browser instances. A spawned browser instance (IBrowserCanvas) has its own set of event listeners and works as a stand-alone Java object. Multiple browser instances can be spawned from BrowserFactory.

BrowserFactory spawns instances of IBrowserCanvas and IMozillaBrowserCanvas.

Interface IMozillaBrowserCanvas adds additional browser control methods to IBrowserCanvas.

com.webrenderer.swing.event

The WebRenderer Event package contains all browser-specific event handlers. Bad-certificate, browser, network, prompt, protocol, JavaScript, window, scroll, mouse and key events make up the WebRenderer event set. Event property access methods are found in each event class.

org.w3c.dom

The W3C DOM interfaces are the preferred way to perform DOM traversal and manipulation in WebRenderer.

com.webrenderer.swing.dom

This package contains WebRenderer's legacy DOM interfaces for compatibility with existing WebRenderer-based code. New code should use the W3C DOM if possible.

The DOM package contains IDocument for manipulating top-level documents as well as IElement and IElementCollection for manipulating DOM elements. There are also classes for manipulating Cascading Style Sheets and text ranges.

 

 

 

 

 

 

 

 

Copyright JadeLiquid Software - www.jadeliquid.com