LocationEvent

A <code>LocationEvent</code> is sent by a {@link Browser} to {@link LocationListener}'s when the <code>Browser</code> navigates to a different URL. This notification typically occurs when the application navigates to a new location with {@link Browser#setUrl(String)} or when the user activates a hyperlink.

@since 3.0

class LocationEvent : TypedEvent {
long serialVersionUID;
}

Members

Functions

toString
String toString()

Returns a string containing a concise, human-readable description of the receiver.

Variables

doit
bool doit;

A flag indicating whether the location loading should be allowed. Setting this field to <code>false</code> will cancel the operation.

location
String location;

current location

top
bool top;

A flag indicating whether the location opens in the top frame or not.

Inherited Members

From TypedEvent

display
Display display;

the display where the event occurred

widget
Widget widget;

the widget that issued the event

time
int time;

the time that the event occurred.

data
Object data;

a field for application use

getName
String getName()

Returns the name of the event. This is the name of the class without the module name.

toString
String toString()

Returns a string containing a concise, human-readable description of the receiver.

Meta