|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4swing.appletviewer.SimpleAppletContext
public final class SimpleAppletContext
Context for a single applet.
| Constructor Summary | |
|---|---|
SimpleAppletContext(Applet applet,
String appletName)
Constructor with applet and it's name. |
|
| Method Summary | |
|---|---|
Applet |
getApplet()
Returns the applet associated with this applet. |
Applet |
getApplet(String name)
|
Enumeration<Applet> |
getApplets()
|
AudioClip |
getAudioClip(URL url)
|
Image |
getImage(URL url)
|
InputStream |
getStream(String key)
|
Iterator<String> |
getStreamKeys()
|
void |
setStream(String key,
InputStream stream)
|
void |
showDocument(URL url)
|
void |
showDocument(URL url,
String target)
|
void |
showStatus(String status)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleAppletContext(Applet applet,
String appletName)
applet - Applet.appletName - Name of the applet.| Method Detail |
|---|
public final Applet getApplet(String name)
getApplet in interface AppletContextpublic final Enumeration<Applet> getApplets()
getApplets in interface AppletContextpublic final AudioClip getAudioClip(URL url)
getAudioClip in interface AppletContextpublic final Image getImage(URL url)
getImage in interface AppletContextpublic final InputStream getStream(String key)
getStream in interface AppletContextpublic final Iterator<String> getStreamKeys()
getStreamKeys in interface AppletContext
public final void setStream(String key,
InputStream stream)
throws IOException
setStream in interface AppletContextIOExceptionpublic final void showDocument(URL url)
showDocument in interface AppletContext
public final void showDocument(URL url,
String target)
showDocument in interface AppletContextpublic final void showStatus(String status)
showStatus in interface AppletContextpublic final Applet getApplet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||