ABOUT US

|

SUPPORT

|

BLOG

 PRICING  | DOWNLOADS

 

User    Pass    

 

 

 

 

 

 

 

 

 

 

Features

 

Key Benefits

 

Screenshots

 

Standards Supported

 

Pricing

 

Download Now

 

API Documentation

 

Developers Guide

 

Code Examples

 

Updated Builds

 

Technical Articles

 

 

 

 

 

Jump to:

General WebRenderer Functions

  WebRenderer example code base.

 

Advanced WebRenderer functions

 

Application test examples

 

Deploying WebRenderer

WebRenderer DOM

  

  

 

WebRenderer History object

 

 

 

Tracking the WebRenderers page visit history

WebRenderer has a History object that automatically tracks document navigation. The History object can be enumerated to find the complete browsing session history.

The following code will output all pages visited upon each page load completion:


IBrowserCanvas browser = BrowserFactory.spawnInternetExplorer();


                browser.addNetworkListener(new NetworkAdapter() {
                        public void onDocumentComplete(NetworkEvent e) {
                                History history = browser.getHistory();
                                System.out.println("History List Length: " + history.length());
                                System.out.println("+++ History Block Start +++");
                                for(int i = 0; i < history.length(); i++) {
                                        System.out.println(history.getPageAt(i).getURL());
                                }
                                System.out.println("+++ History Block End +++");
                        }
                });


 

  top

 

Millions of deployments and counting.. Users of JadeLiquid's tools can be found in every corner of the Earth

 

   News

 

 > Enabling Flash in WebRenderer - Article
 > Browser Zoom Effect using WebRenderer - Article
 > Applet deployment techniques - Article
 > WebRenderer core features on display! - Article
 
 
   Additional News  
 
 > Enabling HTML 5 WebSockets in WebRenderer - Blog
 > 64bit WebRenderer deployment with Web Start - Blog
 > Deploying WebRenderer Server Edition in Tomcat - Blog
 > WebRenderer 6 adds performance text search - Blog
 

 

 Java and the Java Logo are trademarks or registered trademarks of Oracle Corporation in the United States and other countries 

Privacy Policy  |   Disclaimer