org.eclipse.swt.browser
Interface LocationListener

All Superinterfaces:
java.util.EventListener, SWTEventListener
All Known Implementing Classes:
LocationAdapter

public interface LocationListener
extends SWTEventListener

This listener interface may be implemented in order to receive a LocationEvent notification when a Browser navigates to a different URL.

Since:
3.0
See Also:
Browser.addLocationListener(LocationListener), Browser.removeLocationListener(LocationListener)

Method Summary
 void changed(LocationEvent event)
          This method is called when the current location is changed.
 void changing(LocationEvent event)
          This method is called when the current location is about to be changed.
 

Method Detail

changing

void changing(LocationEvent event)
This method is called when the current location is about to be changed.

The following fields in the LocationEvent apply:

Parameters:
event - the LocationEvent that specifies the location to be loaded by a Browser
Since:
3.0

changed

void changed(LocationEvent event)
This method is called when the current location is changed.

The following fields in the LocationEvent apply:

Parameters:
event - the LocationEvent that specifies the new location of a Browser
Since:
3.0