netx.jnlp
Class AppletDesc
public class AppletDesc
extends java.lang.Object
The applet-desc element.
AppletDesc(String name, String mainClass, URL documentBase, int width, int height, Map parameters) - Create an Applet descriptor.
|
AppletDesc
public AppletDesc(String name,
String mainClass,
URL documentBase,
int width,
int height,
Map parameters)
Create an Applet descriptor.
name
- the applet namemainClass
- the main class name and packagedocumentBase
- the document basewidth
- the widthheight
- the heightparameters
- the parameters
addParameter
public void addParameter(String name,
String value)
Adds a parameter to the applet. If the parameter already
exists then it is overwritten with the new value. Adding a
parameter will have no effect on already-running applets
launched from this JNLP file.
getDocumentBase
public URL getDocumentBase()
Returns the document base
getHeight
public int getHeight()
Returns the height
getMainClass
public String getMainClass()
Returns the main class name
getName
public String getName()
Returns the applet name
getParameters
public Map getParameters()
Returns the applet parameters
getWidth
public int getWidth()
Returns the width