org.lobobrowser.gui
Class NavigationAdapter

java.lang.Object
  extended by org.lobobrowser.gui.NavigationAdapter
All Implemented Interfaces:
java.util.EventListener, NavigationListener

public abstract class NavigationAdapter
extends java.lang.Object
implements NavigationListener

A convenience abstract implementation of NavigationListener, with blank methods.


Field Summary
 
Fields inherited from interface org.lobobrowser.ua.NavigationListener
EMPTY_ARRAY
 
Constructor Summary
NavigationAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationAdapter

public NavigationAdapter()
Method Detail

beforeLocalNavigate

public void beforeLocalNavigate(NavigationEvent event)
                         throws NavigationVetoException
Description copied from interface: org.lobobrowser.ua.NavigationListener
Called any time a navigation trigger needs to be processed in the event frame, but might have originated in a child frame.

Specified by:
beforeLocalNavigate in interface NavigationListener
Parameters:
event - Contains navigation information.
Throws:
NavigationVetoException - Thrown to cancel navigation.

beforeNavigate

public void beforeNavigate(NavigationEvent event)
                    throws NavigationVetoException
Description copied from interface: org.lobobrowser.ua.NavigationListener
Called any time a navigation trigger originates in the event frame.

Specified by:
beforeNavigate in interface NavigationListener
Parameters:
event - Contains navigation information.
Throws:
NavigationVetoException - Thrown to cancel navigation.

beforeWindowOpen

public void beforeWindowOpen(NavigationEvent event)
                      throws NavigationVetoException
Description copied from interface: org.lobobrowser.ua.NavigationListener
Called any time a window open trigger originates in the event frame.

Specified by:
beforeWindowOpen in interface NavigationListener
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]