Package org.eclipse.swt.browser
Class LocationEvent
- java.lang.Object
-
- SWTEventObject
-
- org.eclipse.swt.events.TypedEvent
-
- org.eclipse.swt.browser.LocationEvent
-
public class LocationEvent extends TypedEvent
ALocationEvent
is sent by aBrowser
toLocationListener
's when theBrowser
navigates to a different URL. This notification typically occurs when the application navigates to a new location withBrowser.setUrl(String)
or when the user activates a hyperlink.- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description boolean
doit
A flag indicating whether the location loading should be allowed.java.lang.String
location
current locationboolean
top
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 Detail
-
location
public java.lang.String location
current location
-
top
public boolean top
A flag indicating whether the location opens in the top frame or not.
-
doit
public boolean doit
A flag indicating whether the location loading should be allowed. Setting this field tofalse
will cancel the operation.
-
-