All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.tinguin2.HTMLDoc

java.lang.Object
   |
   +----netscape.application.View
           |
           +----netscape.application.InternalWindow
                   |
                   +----semper.tinguin2.ButtonWindow
                           |
                           +----semper.tinguin2.HTMLDoc

public class HTMLDoc
extends ButtonWindow
implements DragDestination
Creates an InternalWindow in which HTML-Text can be displayed. The HTML-Text can be given as a string or as an URL.

Version:
0.1
Author:
Christian Haag

Constructor Index

 o HTMLDoc(String)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.
 o HTMLDoc(String, String)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.
 o HTMLDoc(String, String, int, int, int, int)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.
 o HTMLDoc(URL)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.
 o HTMLDoc(URL, String)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.
 o HTMLDoc(URL, String, int, int, int, int)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.

Method Index

 o acceptsDrag(DragSession, int, int)
You should never call this method.
 o dragDropped(DragSession)
Implementation of the DragDestination interface.
 o dragEntered(DragSession)
Implementation of the DragDestination interface.
 o dragExited(DragSession)
Implementation of the DragDestination interface.
 o dragMoved(DragSession)
Implementation of the DragDestination interface.

Constructors

 o HTMLDoc
 public HTMLDoc(String message)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.

Parameters:
message - The HTML-Text
 o HTMLDoc
 public HTMLDoc(URL url)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.

Parameters:
url - The URL where the HTML-document is
 o HTMLDoc
 public HTMLDoc(String message,
                String title)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.

Parameters:
message - The HTML-Text
title - The title of the InternalWindow
 o HTMLDoc
 public HTMLDoc(URL url,
                String title)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.

Parameters:
url - The URL where the HTML-document is
title - The title of the InternalWindow
 o HTMLDoc
 public HTMLDoc(String message,
                String title,
                int x,
                int y,
                int w,
                int h)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.

Parameters:
message - The HTML-Text
title - The title of the InternalWindow
x - The X-Position of the InternalWindow
y - The Y-Position of the InternalWindow
w - The width of the InternalWindow
h - The height of the InternalWindow
 o HTMLDoc
 public HTMLDoc(URL url,
                String title,
                int x,
                int y,
                int w,
                int h)
Creates an InternalWindow which has horizontal and vertical Scrollbars and a TextView for the HTML-Text to be displayed.

Parameters:
url - The URL where the HTML-document is
title - The title of the InternalWindow
x - The X-Position of the InternalWindow
y - The Y-Position of the InternalWindow
w - The width of the InternalWindow
h - The height of the InternalWindow

Methods

 o acceptsDrag
 public DragDestination acceptsDrag(DragSession dragSession,
                                    int x,
                                    int y)
You should never call this method.

Overrides:
acceptsDrag in class View
 o dragDropped
 public boolean dragDropped(DragSession dragSession)
Implementation of the DragDestination interface. You should never call this method.

 o dragEntered
 public boolean dragEntered(DragSession dragSession)
Implementation of the DragDestination interface. You should never call this method.

 o dragExited
 public void dragExited(DragSession dragSession)
Implementation of the DragDestination interface. You should never call this method.

 o dragMoved
 public boolean dragMoved(DragSession dragSession)
Implementation of the DragDestination interface. You should never call this method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index