|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.browser.LocationAdapter
public abstract class LocationAdapter
This adapter class provides default implementations for the
methods described by the LocationListener
interface.
Classes that wish to deal with LocationEvent
's can
extend this class and override only the methods which they are
interested in.
Constructor Summary | |
---|---|
LocationAdapter()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocationAdapter()
Method Detail |
---|
public void changing(LocationEvent event)
LocationListener
The following fields in the LocationEvent
apply:
Browser
whose location is changing
false
to prevent the location
from being loaded
changing
in interface LocationListener
event
- the LocationEvent
that specifies the location
to be loaded by a Browser
public void changed(LocationEvent event)
LocationListener
The following fields in the LocationEvent
apply:
true
if the location opens in the top frame or
false
otherwise
Browser
whose location has changed
changed
in interface LocationListener
event
- the LocationEvent
that specifies the new
location of a Browser
|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.