All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.mitre.cvw.mudsy.DisplayURL

java.lang.Object
   |
   +----org.mitre.cvw.mudsy.DisplayURL

public class DisplayURL
extends Object
implements MCPMessageListener
Objects of this class respond to the display-url MCP command. #$#display-url url: URL [target: TARGET]


Constructor Index

 o DisplayURL(Applet)
Constructs a URL displayer.

Method Index

 o getMaxVersion()
Get the maximum protocol version number of the package.
 o getMCPPackageName()
Get the MCP package name which is "display-url".
 o getMinVersion()
Get the minimum protocol version number of the package.
 o performDisplayURL(String, String)
This routine starts a request to display a URL in a thread.
 o performMCPMessage(MCPMessageEvent)
This routine filters MCP command events for display-url requests.
 o runDisplayURL(URL, String)
Displays a URL.

Constructors

 o DisplayURL
 public DisplayURL(Applet applet) throws Exception
Constructs a URL displayer. It displays a URL in the context of an applet.

Parameters:
applet - giving the context
Throws: Exception
if the applet is null.

Methods

 o performMCPMessage
 public void performMCPMessage(MCPMessageEvent e)
This routine filters MCP command events for display-url requests.

 o performDisplayURL
 public void performDisplayURL(String urlString,
                               String target)
This routine starts a request to display a URL in a thread.

 o runDisplayURL
 public void runDisplayURL(URL url,
                           String target)
Displays a URL. This routine displays a URL by running the applet's showDocument method.

 o getMCPPackageName
 public String getMCPPackageName()
Get the MCP package name which is "display-url".

 o getMinVersion
 public Version getMinVersion()
Get the minimum protocol version number of the package.

 o getMaxVersion
 public Version getMaxVersion()
Get the maximum protocol version number of the package.


All Packages  Class Hierarchy  This Package  Previous  Next  Index