public class LocationEvent extends TypedEvent
LocationEvent is sent by a Browser to
LocationListener's when the Browser
navigates to a different URL. This notification typically
occurs when the application navigates to a new location with
Browser.setUrl(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.
|
java.lang.String |
location
current location
|
(package private) static long |
serialVersionUID |
boolean |
top
A flag indicating whether the location opens in the top frame
or not.
|
data, display, time, widget| Constructor and Description |
|---|
LocationEvent(Widget widget)
Constructs a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a string containing a concise, human-readable
description of the receiver.
|
public java.lang.String location
public boolean top
public boolean doit
false will cancel the operation.static final long serialVersionUID
public LocationEvent(Widget widget)
widget - the widget that fired the eventpublic java.lang.String toString()
toString in class TypedEvent