public interface LocationListener extends SWTEventListener
LocationEvent notification when a Browser
navigates to a different URL.| Modifier and Type | Method and Description |
|---|---|
void |
changed(LocationEvent event)
This method is called when the current location is changed.
|
static LocationListener |
changedAdapter(Consumer<LocationEvent> c)
Static helper method to create a
LocationListener for the
changed(LocationEvent e)) method, given a lambda expression or a method reference. |
void |
changing(LocationEvent event)
This method is called when the current location is about to be changed.
|
static LocationListener |
changingAdapter(Consumer<LocationEvent> c)
Static helper method to create a
LocationListener for the
changing(LocationEvent e)) method, given a lambda expression or a method reference. |
void changing(LocationEvent event)
The following fields in the LocationEvent apply:
Browser whose location is changing
false to prevent the location
from being loaded
event - the LocationEvent that specifies the location
to be loaded by a Browservoid changed(LocationEvent event)
The following fields in the LocationEvent apply:
true if the location opens in the top frame or
false otherwise
Browser whose location has changed
event - the LocationEvent that specifies the new
location of a Browserstatic LocationListener changingAdapter(Consumer<LocationEvent> c)
LocationListener for the
changing(LocationEvent e)) method, given a lambda expression or a method reference.c - the consumer of the eventstatic LocationListener changedAdapter(Consumer<LocationEvent> c)
LocationListener for the
changed(LocationEvent 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.