org.lobobrowser.gui
Interface WindowFactory

All Known Implementing Classes:
DefaultWindowFactory

public interface WindowFactory

Factory used to create browser windows. It is used when the JavaScript method Window.open() is invoked, for example.

See Also:
NavigatorWindowImpl.setWindowFactory(WindowFactory)

Method Summary
 AbstractBrowserWindow createWindow(java.lang.String windowId, java.util.Properties windowProperties, NavigatorWindow windowContext)
          Creates a new navigator window, even if the windowId provided exists.
 AbstractBrowserWindow getExistingWindow(java.lang.String windowId)
          Gets an existing window given a windowId.
 void overrideProperties(AbstractBrowserWindow window, java.util.Properties properties)
           
 

Method Detail

createWindow

AbstractBrowserWindow createWindow(java.lang.String windowId,
                                   java.util.Properties windowProperties,
                                   NavigatorWindow windowContext)
Creates a new navigator window, even if the windowId provided exists. The implementation of this method is expected to add the top frame of the window context to the new navigator window.

Parameters:
windowId - The window ID. It may be null.
windowProperties - Window properties, following Window.open() conventions. In addition, properties title and icon should be supported.
See Also:
DefaultBrowserWindow

getExistingWindow

AbstractBrowserWindow getExistingWindow(java.lang.String windowId)
Gets an existing window given a windowId.


overrideProperties

void overrideProperties(AbstractBrowserWindow window,
                        java.util.Properties properties)


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