|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.applet.ApplicationStub
AppletStub für zur Steuerung von Applets.
Fields inherited from interface gishur.applet.AppletControl |
CLOSE_EXIT_MAX_ID, DESTROY_ALL_APPLETS, DESTROY_APPLET, HIDE_WINDOW, NOTHING, STOP_ALL_APPLETS, STOP_APPLET |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Wird aufgerufen, wenn der Menüpunkt exit aufgerufen wurde oder der Frame geschlossen wurde. |
void |
appletResize(int width,
int height)
Called when the applet wants to be resized. |
void |
createNewAppletInstance()
Kreiert eine neue Instanz des Applets, registriert sie beim ApplicationContext, übernimmt alle Einstellung dieses Applets, sowie startet es. |
java.applet.AppletContext |
getAppletContext()
Gets a handler to the applet's context. |
byte |
getCloseMode()
Liefert den gesetzten Close-Modus. |
java.net.URL |
getCodeBase()
Gets the base URL. |
java.net.URL |
getDocumentBase()
Gets the document URL. |
byte |
getExitMode()
Liefert den gesetzten Exit-Modus. |
java.awt.Frame |
getFrame()
Liefert den Appletframe. |
java.lang.String |
getParameter(java.lang.String name)
Returns the value of the named parameter in the HTML tag. |
boolean |
isActive()
Determines if the applet is active. |
void |
setCloseMode(byte closemode)
Bestimmt, was passiert, wenn das Fenster geschlossen wird. |
void |
setExitMode(byte exitmode)
Bestimmt, was passiert, wenn der Exit-Befehl gewählt wurde. |
void |
showStatus(java.lang.String msg)
Requests that the argument string be displayed in the "status window". |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public void setExitMode(byte exitmode)
setExitMode
in interface AppletControl
exitmode
- neuer Exitmode (eine Konstante aus
{NOTHING,HIDE_WINDOW,STOP_APPLET,DESTROY_APPLET})public void setCloseMode(byte closemode)
setCloseMode
in interface AppletControl
closemode
- neuer Closemode (eine Konstante aus
{NOTHING,HIDE_WINDOW,STOP_APPLET,DESTROY_APPLET})public byte getExitMode()
getExitMode
in interface AppletControl
public byte getCloseMode()
getCloseMode
in interface AppletControl
public java.awt.Frame getFrame()
getFrame
in interface AppletControl
public void showStatus(java.lang.String msg)
showStatus
in interface AppletControl
msg
- a string to display in the status window.public void createNewAppletInstance()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- ActionEventpublic boolean isActive()
start
method is called. It becomes
inactive immediately after its stop
method is called.isActive
in interface java.applet.AppletStub
true
if the applet is active;
false
otherwise.public java.net.URL getDocumentBase()
getDocumentBase
in interface java.applet.AppletStub
URL
of the document containing the applet.public java.net.URL getCodeBase()
getCodeBase
in interface java.applet.AppletStub
URL
of the applet.public java.lang.String getParameter(java.lang.String name)
<applet code="Clock" width=50 height=50>
<param name=Color value="blue">
</applet>
then a call to getParameter("Color")
returns the
value "blue"
.
getParameter
in interface java.applet.AppletStub
name
- a parameter name.public java.applet.AppletContext getAppletContext()
getAppletContext
in interface java.applet.AppletStub
public void appletResize(int width, int height)
appletResize
in interface java.applet.AppletStub
width
- the new requested width for the applet.height
- the new requested height for the applet.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |