Package org.eclipse.swt.browser
Class LocationEvent
java.lang.Object
SWTEventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.browser.LocationEvent
A
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.- Since:
- 1.0
-
Field Summary
Modifier and TypeFieldDescriptionboolean
A flag indicating whether the location loading should be allowed.current locationboolean
A flag indicating whether the location opens in the top frame or not.Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
-
Method Summary
Methods inherited from class org.eclipse.swt.events.TypedEvent
toString
-
Field Details
-
location
current location -
top
public boolean topA flag indicating whether the location opens in the top frame or not. -
doit
public boolean doitA flag indicating whether the location loading should be allowed. Setting this field tofalse
will cancel the operation.
-