chrriis.dj.nativeswing.swtimpl.components
Class WebBrowserWindowFactory

java.lang.Object
  extended by chrriis.dj.nativeswing.swtimpl.components.WebBrowserWindowFactory

public class WebBrowserWindowFactory
extends Object


Constructor Summary
WebBrowserWindowFactory()
           
 
Method Summary
static JWebBrowserWindow create(JWebBrowser webBrowser)
          Create a web browser window, as a frame, with a given web browser.
static JWebBrowserWindow create(Window parentWindow, JWebBrowser webBrowser)
          Create a web browser window, as a dialog or a frame depending on whether a parent window is specified, with a given web browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebBrowserWindowFactory

public WebBrowserWindowFactory()
Method Detail

create

public static JWebBrowserWindow create(JWebBrowser webBrowser)
Create a web browser window, as a frame, with a given web browser.

Parameters:
webBrowser - the web browser.
Returns:
the web browser window that was created.

create

public static JWebBrowserWindow create(Window parentWindow,
                                       JWebBrowser webBrowser)
Create a web browser window, as a dialog or a frame depending on whether a parent window is specified, with a given web browser.

Parameters:
parentWindow - the parent window, which can be null.
webBrowser - the web browser.
Returns:
the web browser window that was created.