org.jdesktop.jdic.browser
Interface WebBrowserListener

All Superinterfaces:
java.util.EventListener

public interface WebBrowserListener
extends java.util.EventListener

The listener interface for receiving WebBrowser events. The class that is interested in processing a WebBrowser event implements this interface or inherits the WebBrowserAdapter abstract class.

The object created with that class is registered with a WebBrowser component, using the addWebBrowserListener method. When the WebBrowser event occurs, that object's corresponding method is invoked.

Version:
0.1, 03/07/17
Author:
Kyle Yuan
See Also:
WebBrowserEvent, WebBrowser

Method Summary
 void documentCompleted(WebBrowserEvent event)
          Invoked when the document loading has been completed.
 void downloadCompleted(WebBrowserEvent event)
          Invoked when a download operation finishes, is halted, or fails.
 void downloadError(WebBrowserEvent event)
          Invoked when an error occurs during a download operation.
 void downloadProgress(WebBrowserEvent event)
          Invoked when the progress of a download operation is updated.
 void downloadStarted(WebBrowserEvent event)
          Invoked when a download operation is beginning.
 void statusTextChange(WebBrowserEvent event)
          Invoked when the status bar text is changed.
 void titleChange(WebBrowserEvent event)
          Invoked when the title of a document is changed.
 

Method Detail

downloadStarted

void downloadStarted(WebBrowserEvent event)
Invoked when a download operation is beginning.

Parameters:
event - the WebBrowserEvent fired.

downloadCompleted

void downloadCompleted(WebBrowserEvent event)
Invoked when a download operation finishes, is halted, or fails.

Parameters:
event - the WebBrowserEvent fired.

downloadProgress

void downloadProgress(WebBrowserEvent event)
Invoked when the progress of a download operation is updated.

Parameters:
event - the WebBrowserEvent fired.

downloadError

void downloadError(WebBrowserEvent event)
Invoked when an error occurs during a download operation.

Parameters:
event - the WebBrowserEvent fired.

documentCompleted

void documentCompleted(WebBrowserEvent event)
Invoked when the document loading has been completed.

Parameters:
event - the WebBrowserEvent fired.
Since:
0.9

titleChange

void titleChange(WebBrowserEvent event)
Invoked when the title of a document is changed.

Parameters:
event - the WebBrowserEvent fired.

statusTextChange

void statusTextChange(WebBrowserEvent event)
Invoked when the status bar text is changed.

Parameters:
event - the WebBrowserEvent fired.


Copyright © 2005 Sun Microsystems All Rights Reserved.