public interface ProgressListener extends SWTEventListener
ProgressEvent
notification when a Browser
makes a progress in loading the current URL or when the
current URL has been loaded.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.
|
static ProgressListener |
changedAdapter(Consumer<ProgressEvent> c)
Static helper method to create a
ProgressListener for the
changed(ProgressEvent e) ) method, given a lambda expression or a method reference. |
void |
completed(ProgressEvent event)
This method is called when the current location has been completely loaded.
|
static ProgressListener |
completedAdapter(Consumer<ProgressEvent> c)
Static helper method to create a
ProgressListener for the
completed(ProgressEvent e) ) method, given a lambda expression or a method reference. |
void changed(ProgressEvent event)
The following fields in the ProgressEvent
apply:
Browser
whose current URL is being loaded
event
- the ProgressEvent
related to the loading of the
current location of a Browser
void completed(ProgressEvent event)
The following fields in the ProgressEvent
apply:
Browser
whose current URL has been loaded
event
- the ProgressEvent
related to the Browser
that has loaded its current URL.static ProgressListener changedAdapter(Consumer<ProgressEvent> c)
ProgressListener
for the
changed(ProgressEvent e)
) method, given a lambda expression or a method reference.c
- the consumer of the eventstatic ProgressListener completedAdapter(Consumer<ProgressEvent> c)
ProgressListener
for the
completed(ProgressEvent e)
) method, given a lambda expression or a method reference.c
- the consumer of the event
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.