fable.gui.dialog
Class BrowserDialog

java.lang.Object
  extended by Dialog
      extended by fable.gui.dialog.BrowserDialog

public class BrowserDialog
extends Dialog

This dialog box shows very simple browser.

Author:
Wonsik Kim

Method Summary
static void showBrowserDialog(Shell parent, java.lang.String content, java.lang.String title)
          Show the browser dialog box with Content
static void showBrowserDialog(Shell parent, java.lang.String content, java.lang.String title, int width, int height)
          Show the browser dialog box with Content and size.
static void showBrowserDialogWithURL(Shell parent, java.lang.String url, java.lang.String title)
          Show the browser dialog box with URL.
static void showBrowserDialogWithURL(Shell parent, java.lang.String url, java.lang.String title, int width, int height)
          Show the browser dialog box with URL and size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showBrowserDialog

public static void showBrowserDialog(Shell parent,
                                     java.lang.String content,
                                     java.lang.String title)
Show the browser dialog box with Content

Parameters:
parent - parent shell of the dialog.
content - content that the browser will show.
title - title of the dialog box.
Requires:
parent != null, content != null, title != null.

showBrowserDialog

public static void showBrowserDialog(Shell parent,
                                     java.lang.String content,
                                     java.lang.String title,
                                     int width,
                                     int height)
Show the browser dialog box with Content and size.

Parameters:
parent - parent shell of the dialog.
content - content that the browser will show.
title - title of the dialog box.
width - width of the dialog box.
height - height of the dialog box.
Requires:
parent != null, content != null, title != null.

showBrowserDialogWithURL

public static void showBrowserDialogWithURL(Shell parent,
                                            java.lang.String url,
                                            java.lang.String title)
Show the browser dialog box with URL.

Parameters:
parent - parent shell of the dialog.
url - url of the page that the browser will show.
title - title of the dialog box.
Requires:
parent != null, url != null, title != null.

showBrowserDialogWithURL

public static void showBrowserDialogWithURL(Shell parent,
                                            java.lang.String url,
                                            java.lang.String title,
                                            int width,
                                            int height)
Show the browser dialog box with URL and size.

Parameters:
parent - parent shell of the dialog.
url - url of the page that the browser will show.
title - title of the dialog box.
width - width of the dialog box.
height - height of the dialog box.
Requires:
parent != null, url != null, title != null.