public abstract class ProgressAdapter extends java.lang.Object implements ProgressListener
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.
Constructor and Description |
---|
ProgressAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
changed(ProgressEvent event)
This method is called when a progress is made during the loading of the
current location.
|
void |
completed(ProgressEvent event)
This method is called when the current location has been completely loaded.
|
public void changed(ProgressEvent event)
ProgressListener
The following fields in the ProgressEvent
apply:
Browser
whose current URL is being loaded
changed
in interface ProgressListener
event
- the ProgressEvent
related to the loading of the
current location of a Browser
public void completed(ProgressEvent event)
ProgressListener
The following fields in the ProgressEvent
apply:
Browser
whose current URL has been loaded
completed
in interface ProgressListener
event
- the ProgressEvent
related to the
Browser
that has loaded its current URL.
Copyright (c) EclipseSource and others 2002, 2020.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0