Package org.eclipse.swt.browser
Interface LocationListener
- All Known Implementing Classes:
- LocationAdapter
public interface LocationListener
This listener interface may be implemented in order to receive
 a 
LocationEvent notification when a Browser
 navigates to a different URL.- 
Method SummaryModifier and TypeMethodDescriptionvoidchanged(LocationEvent event) This method is called when the current location is changed.voidchanging(LocationEvent event) This method is called when the current location is about to be changed.
- 
Method Details- 
changingThis method is called when the current location is about to be changed.The following fields in the LocationEventapply:- (in) location the location to be loaded
- (in) widget the Browserwhose location is changing
- (in/out) doit can be set to falseto prevent the location from being loaded
 - Parameters:
- event- the- LocationEventthat specifies the location to be loaded by a- Browser
 
- 
changedThis method is called when the current location is changed.The following fields in the LocationEventapply:- (in) location the current location
- (in) top trueif the location opens in the top frame orfalseotherwise
- (in) widget the Browserwhose location has changed
 - Parameters:
- event- the- LocationEventthat specifies the new location of a- Browser
 
 
-