Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Rich Ajax Platform
Release 1.2

org.eclipse.swt.browser
Interface LocationListener

All Superinterfaces:
EventListener

public interface LocationListener
extends EventListener

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

Since:
1.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

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

The following fields in the LocationEvent apply:

  • (in) location the location to be loaded
  • (in) widget the Browser whose location is changing
  • (in/out) doit can be set to false to prevent the location from being loaded

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

changed

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

The following fields in the LocationEvent apply:

  • (in) location the current location
  • (in) top true if the location opens in the top frame or false otherwise
  • (in) widget the Browser whose location has changed

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

Eclipse Rich Ajax Platform
Release 1.2

Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire