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]
-
DisplayURL(Applet)
- Constructs a URL displayer.
-
getMaxVersion()
- Get the maximum protocol version number of the package.
-
getMCPPackageName()
- Get the MCP package name which is "display-url".
-
getMinVersion()
- Get the minimum protocol version number of the package.
-
performDisplayURL(String, String)
- This routine starts a request to display a URL in a thread.
-
performMCPMessage(MCPMessageEvent)
- This routine filters MCP command events for display-url requests.
-
runDisplayURL(URL, String)
- Displays a URL.
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.
performMCPMessage
public void performMCPMessage(MCPMessageEvent e)
- This routine filters MCP command events for display-url requests.
performDisplayURL
public void performDisplayURL(String urlString,
String target)
- This routine starts a request to display a URL in a thread.
runDisplayURL
public void runDisplayURL(URL url,
String target)
- Displays a URL.
This routine displays a URL by running the applet's
showDocument method.
getMCPPackageName
public String getMCPPackageName()
- Get the MCP package name which is "display-url".
getMinVersion
public Version getMinVersion()
- Get the minimum protocol version number of the package.
getMaxVersion
public Version getMaxVersion()
- Get the maximum protocol version number of the package.
All Packages Class Hierarchy This Package Previous Next Index