com.teamdev.jxbrowser
Interface ContentLoading

All Known Subinterfaces:
Browser
All Known Implementing Classes:
AbstractBrowser

public interface ContentLoading

Allows receiving web page content loading progress.


Method Summary
 void addProgressListener(ProgressListener listener)
          Adds the specified progress listener to receive browser progress events from this browser instance.
 java.util.List<ProgressListener> getProgressListeners()
          Returns a list of all the browser progress listeners registered on the current browser.
 void removeProgressListener(ProgressListener listener)
          Removes the specified progress listener so that it no longer receives browser progress events from this browser instance.
 

Method Detail

addProgressListener

void addProgressListener(ProgressListener listener)
Adds the specified progress listener to receive browser progress events from this browser instance.

If the listener is null, no exception is thrown and no action is performed.

Parameters:
listener - the browser progress listener.

removeProgressListener

void removeProgressListener(ProgressListener listener)
Removes the specified progress listener so that it no longer receives browser progress events from this browser instance.

Parameters:
listener - the browser progress listener.

getProgressListeners

java.util.List<ProgressListener> getProgressListeners()
Returns a list of all the browser progress listeners registered on the current browser.

Returns:
all of this browser's ProgressListeners or an empty list if no browser progress listeners are currently registered.