org.lobobrowser.gui
Class DefaultWindowFactory
java.lang.Object
org.lobobrowser.gui.DefaultWindowFactory
- All Implemented Interfaces:
- WindowFactory
public class DefaultWindowFactory
- extends java.lang.Object
- implements WindowFactory
Browser windows are created by this factory by default.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evtWindowShown
public final org.lobobrowser.util.EventDispatch evtWindowShown
DefaultWindowFactory
protected DefaultWindowFactory()
setExitWhenAllWindowsAreClosed
public void setExitWhenAllWindowsAreClosed(boolean flag)
getInstance
public static DefaultWindowFactory getInstance()
getDefaultImageIcon
public javax.swing.ImageIcon getDefaultImageIcon()
- Gets the default image icon for browser windows.
getExistingWindow
public AbstractBrowserWindow getExistingWindow(java.lang.String windowId)
- Description copied from interface:
WindowFactory
- Gets an existing window given a windowId.
- Specified by:
getExistingWindow in interface WindowFactory
createWindow
public AbstractBrowserWindow createWindow(java.lang.String windowId,
java.util.Properties properties,
NavigatorWindow windowContext)
- Creates, sizes a browser window, and registeres listeners that allow
the platform to persist window settings and shut itself down when all
windows are closed.
- Specified by:
createWindow in interface WindowFactory
- Parameters:
windowId - The window ID. It may be null.properties - Window properties, following Window.open() conventions.
In addition, properties title and
icon should be supported.- See Also:
DefaultBrowserWindow
Copyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]