com.teamdev.jxbrowser
Interface WindowCreator


public interface WindowCreator

Implementing this interface allows to override the default window creation behaviour. Currently this interface is specific to Mozilla browser.


Method Summary
 WebBrowserWindow createChildWindow(java.awt.Component parentComponent, long flags)
          Creates a window component that is logically a child of a given component.
 

Method Detail

createChildWindow

WebBrowserWindow createChildWindow(java.awt.Component parentComponent,
                                   long flags)
Creates a window component that is logically a child of a given component. Depending on flags the requestor may expect window to be pop-up, dialog, modal, etc. Please see nsIWebBrowserChrome class for exact meaning of flag values.

Parameters:
parentComponent - a parent component for the browser created.
flags - new browser creation flags (Mozilla-specific).
Returns:
interface to the created child window.