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
ALocationEventis sent by aBrowsertoLocationListener's when theBrowsernavigates 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 booleandoitA flag indicating whether the location loading should be allowed.java.lang.Stringlocationcurrent locationbooleantopA 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 tofalsewill cancel the operation.
-
-