org.lobobrowser.ua
Interface NavigationListener

All Superinterfaces:
java.util.EventListener

public interface NavigationListener
extends java.util.EventListener

A listener of navigation events.

See Also:
NavigationEvent, NavigatorExtensionContext.addNavigationListener(NavigationListener)

Field Summary
static NavigationListener[] EMPTY_ARRAY
           
 
Method Summary
 void beforeLocalNavigate(NavigationEvent event)
          Called any time a navigation trigger needs to be processed in the event frame, but might have originated in a child frame.
 void beforeNavigate(NavigationEvent event)
          Called any time a navigation trigger originates in the event frame.
 void beforeWindowOpen(NavigationEvent event)
          Called any time a window open trigger originates in the event frame.
 

Field Detail

EMPTY_ARRAY

static final NavigationListener[] EMPTY_ARRAY
Method Detail

beforeNavigate

void beforeNavigate(NavigationEvent event)
                    throws NavigationVetoException
Called any time a navigation trigger originates in the event frame.

Parameters:
event - Contains navigation information.
Throws:
NavigationVetoException - Thrown to cancel navigation.

beforeLocalNavigate

void beforeLocalNavigate(NavigationEvent event)
                         throws NavigationVetoException
Called any time a navigation trigger needs to be processed in the event frame, but might have originated in a child frame.

Parameters:
event - Contains navigation information.
Throws:
NavigationVetoException - Thrown to cancel navigation.

beforeWindowOpen

void beforeWindowOpen(NavigationEvent event)
                      throws NavigationVetoException
Called any time a window open trigger originates in the event frame.

Parameters:
event - Contains navigation information.
Throws:
NavigationVetoException - Thrown to cancel navigation.


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]