Top Description Constructors Methods
org.eclipse.swt.browser

public abstract Class ProgressAdapter

extends Object
implements ProgressListener
Class Inheritance
All Implemented Interfaces
org.eclipse.swt.browser.ProgressListener, org.eclipse.swt.internal.SWTEventListener, java.util.EventListener

This adapter class provides default implementations for the methods described by the ProgressListener interface.

Classes that wish to deal with ProgressEvent's can extend this class and override only the methods which they are interested in.

An alternative to this class are the static helper methods in ProgressListener, which accept a lambda expression or a method reference that implements the event consumer.

Since
3.0
See Also
Sample code and further information

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
changed(ProgressEvent
the ProgressEvent related to the loading of the current location of a Browser
event
)

Implements org.eclipse.swt.browser.ProgressListener.changed.

This method is called when a progress is made during the loading of the current location.
public void
completed(ProgressEvent
the ProgressEvent related to the Browser that has loaded its current URL.
event
)

Implements org.eclipse.swt.browser.ProgressListener.completed.

This method is called when the current location has been completely loaded.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ProgressAdapterback to summary
public ProgressAdapter()

Method Detail

changedback to summary
public void changed(ProgressEvent event)

Implements org.eclipse.swt.browser.ProgressListener.changed.

Doc from org.eclipse.swt.browser.ProgressListener.changed.

This method is called when a progress is made during the loading of the current location.

The following fields in the ProgressEvent apply:

  • (in) current the progress for the location currently being loaded
  • (in) total the maximum progress for the location currently being loaded
  • (in) widget the Browser whose current URL is being loaded
Parameters
event:ProgressEvent

the ProgressEvent related to the loading of the current location of a Browser

Annotations
@Override
completedback to summary
public void completed(ProgressEvent event)

Implements org.eclipse.swt.browser.ProgressListener.completed.

Doc from org.eclipse.swt.browser.ProgressListener.completed.

This method is called when the current location has been completely loaded.

The following fields in the ProgressEvent apply:

  • (in) widget the Browser whose current URL has been loaded
Parameters
event:ProgressEvent

the ProgressEvent related to the Browser that has loaded its current URL.

Annotations
@Override