org.lobobrowser.ua
Interface NavigatorExtension


public interface NavigatorExtension

This interface must be implemented by a platform extension or plugin.


Method Summary
 void destroy()
          Invoked when the platform needs to unload the extension.
 void init(NavigatorExtensionContext pcontext)
          Invoked when the platform first loads the extension.
 void windowClosing(NavigatorWindow wcontext)
          Invoked when a window is about to close.
 void windowOpening(NavigatorWindow wcontext)
          Invoked right before the platform opens a new window.
 

Method Detail

init

void init(NavigatorExtensionContext pcontext)
Invoked when the platform first loads the extension. At this point the extension can register ClientletSelectors (extra content handlers) by invoking NavigatorExtensionContext.addClientletSelector(ClientletSelector).

Parameters:
pcontext - The extension context. It provides extensions with access to browser functionality.

windowOpening

void windowOpening(NavigatorWindow wcontext)
Invoked right before the platform opens a new window. At this point the extension can add custom widgets to the platform window.

Note that this method may not be invoked if the window does not require any toolbars, status bars, address bars or menus.

Parameters:
wcontext -

windowClosing

void windowClosing(NavigatorWindow wcontext)
Invoked when a window is about to close. At this point the extension can perform cleanup operations that are window specific.

Parameters:
wcontext -

destroy

void destroy()
Invoked when the platform needs to unload the extension. This method should release any resources used by the extension.



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