|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jnlp.runtime.AppletEnvironment
public class AppletEnvironment
The applet environment including stub, context, and frame. The default environment puts the applet in a non-resiable frame; this can be changed by obtaining the frame and setting it resizable.
| Constructor Summary | |
|---|---|
AppletEnvironment(JNLPFile file,
AppletInstance appletInstance)
Create a new applet environment for the applet specified by the JNLP file, in a new frame. |
|
AppletEnvironment(JNLPFile file,
AppletInstance appletInstance,
java.awt.Container cont)
Create a new applet environment for the applet specified by the JNLP file. |
|
| Method Summary | |
|---|---|
void |
appletResize(int width,
int height)
|
void |
destroy()
Disposes the applet's resources and disables the applet environment from further use; after calling this method the applet stub and context methods throw IllegalStateExceptions. |
java.applet.Applet |
getApplet(java.lang.String name)
Returns the applet if the applet's name is specified, otherwise return null. |
java.applet.AppletContext |
getAppletContext()
|
java.awt.Container |
getAppletFrame()
Returns the frame that contains the applet. |
java.util.Enumeration<java.applet.Applet> |
getApplets()
Returns an enumeration that contains only the applet from the JNLP file. |
java.applet.AudioClip |
getAudioClip(java.net.URL location)
Returns an audio clip. |
java.net.URL |
getCodeBase()
|
java.net.URL |
getDocumentBase()
|
java.awt.Image |
getImage(java.net.URL location)
Return an image loaded from the specified location. |
java.lang.String |
getParameter(java.lang.String name)
|
java.io.InputStream |
getStream(java.lang.String key)
Required for JRE1.4, but not implemented yet. |
java.util.Iterator<java.lang.String> |
getStreamKeys()
Required for JRE1.4, but not implemented yet. |
boolean |
isActive()
|
void |
setStream(java.lang.String key,
java.io.InputStream stream)
Required for JRE1.4, but not implemented yet. |
void |
showDocument(java.net.URL uRL)
Not implemented yet. |
void |
showDocument(java.net.URL uRL,
java.lang.String str)
Not implemented yet. |
void |
showStatus(java.lang.String str)
Not implemented yet. |
void |
startApplet()
Initialize, start, and show the applet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppletEnvironment(JNLPFile file,
AppletInstance appletInstance,
java.awt.Container cont)
public AppletEnvironment(JNLPFile file,
AppletInstance appletInstance)
| Method Detail |
|---|
public void destroy()
public java.awt.Container getAppletFrame()
public void startApplet()
public java.applet.Applet getApplet(java.lang.String name)
getApplet in interface java.applet.AppletContextpublic java.util.Enumeration<java.applet.Applet> getApplets()
getApplets in interface java.applet.AppletContextpublic java.applet.AudioClip getAudioClip(java.net.URL location)
getAudioClip in interface java.applet.AppletContextpublic java.awt.Image getImage(java.net.URL location)
getImage in interface java.applet.AppletContextpublic void showDocument(java.net.URL uRL)
showDocument in interface java.applet.AppletContext
public void showDocument(java.net.URL uRL,
java.lang.String str)
showDocument in interface java.applet.AppletContextpublic void showStatus(java.lang.String str)
showStatus in interface java.applet.AppletContext
public void setStream(java.lang.String key,
java.io.InputStream stream)
setStream in interface java.applet.AppletContextpublic java.io.InputStream getStream(java.lang.String key)
getStream in interface java.applet.AppletContextpublic java.util.Iterator<java.lang.String> getStreamKeys()
getStreamKeys in interface java.applet.AppletContext
public void appletResize(int width,
int height)
appletResize in interface java.applet.AppletStubpublic java.applet.AppletContext getAppletContext()
getAppletContext in interface java.applet.AppletStubpublic java.net.URL getCodeBase()
getCodeBase in interface java.applet.AppletStubpublic java.net.URL getDocumentBase()
getDocumentBase in interface java.applet.AppletStubpublic java.lang.String getParameter(java.lang.String name)
getParameter in interface java.applet.AppletStubpublic boolean isActive()
isActive in interface java.applet.AppletStub
|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||