public interface BrowserLocationListener extends BrowserListener
LocationEvent
notification when a WebBrowser
navigates to a
different URL.WebBrowser.addLocationListener(BrowserLocationListener)
,
WebBrowser.removeLocationListener(BrowserLocationListener)
Modifier and Type | Method and Description |
---|---|
void |
changed(LocationEvent event)
This method is called when the current location is changed.
|
void |
changing(LocationEvent event)
This method is called when the current location is about to be changed.
|
void changing(LocationEvent event)
The following fields in the LocationEvent
apply:
WebBrowser
whose location is changing
false
to prevent the
location from being loaded
event
- the LocationEvent
that specifies the location to
be loaded by a WebBrowser
void changed(LocationEvent event)
The following fields in the LocationEvent
apply:
true
if the location opens in the top frame or
false
otherwise
WebBrowser
whose location has changed
event
- the LocationEvent
that specifies the new location
of a WebBrowser
Copyright © 2020 OXPath Team. All rights reserved.