public class LocationEvent extends Object
LocationEvent
is sent by a WebBrowser
to BrowserLocationListener
's when the
WebBrowser
navigates to a different URL. This notification typically occurs when the application
navigates to a new location with MiniBrowser.navigate(String)
or when the user activates a hyperlink.Modifier and Type | Field and Description |
---|---|
boolean |
doit
A flag indicating whether the location loading should be allowed.
|
String |
location
current location
|
boolean |
top
A flag indicating whether the location opens in the top frame or not.
|
Constructor and Description |
---|
LocationEvent(WebBrowser browser)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string containing a concise, human-readable description of the receiver.
|
public String location
public boolean top
public boolean doit
false
will
cancel the operation.public LocationEvent(WebBrowser browser)
widget
- the widget that fired the eventCopyright © 2020 OXPath Team. All rights reserved.