|
||||||||||||||
|
|
|||||||||||||
|
|
|||
|
|||
|
|||
|
Introduction to the WebRenderer Swing Edition SDK API | ||
|
|
|
|
|
|
The WebRenderer API is composed of five core packages:
com.webrenderer.swingThe 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. Interface IMozillaBrowserCanvas adds additional browser control methods to IBrowserCanvas. com.webrenderer.swing.eventThe 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.domThe W3C DOM interfaces are the preferred way to perform DOM traversal and manipulation in WebRenderer. com.webrenderer.swing.domThis 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 |