Class appWrapper
Class appWrapper
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----appWrapper
- public class appWrapper
- extends Applet
- implements AppletStub
The appWrapper is thought to make the applet itself independent from
the original context. This is necessary to be able to detach the applet
from the web browsers window without disconnecting it from events.
Note: This applet should work with any applet without changes.
- Version:
- $Id: appWrapper.java,v 1.1.1.1 1997/03/05 13:35:16 leo Exp $
- Author:
- Matthias L. Jugel
-
appWrapper()
-
-
appletResize(int, int)
- This method is called when the applet want's to be resized.
-
getParameterInfo()
- Give information about the appWrapper and the applet loaded.
-
init()
- Applet initialization.
-
paint(Graphics)
- Write a message to the applet area.
-
reshape(int, int, int, int)
- reshape the applet and ourself
-
start()
- After initializing the applet it will be started.
appWrapper
public appWrapper()
init
public void init()
- Applet initialization. We load the class giving in parameter "app"
and set the stub corresponding to ours. Thus we are able to give
it access to the parameters and any applet specific context.
- Overrides:
- init in class Applet
start
public void start()
- After initializing the applet it will be started.
- Overrides:
- start in class Applet
appletResize
public void appletResize(int width,
int height)
- This method is called when the applet want's to be resized.
- Parameters:
- width - the width of the applet
- height - the height of the applet
getParameterInfo
public String[][] getParameterInfo()
- Give information about the appWrapper and the applet loaded.
- Overrides:
- getParameterInfo in class Applet
paint
public void paint(Graphics g)
- Write a message to the applet area.
- Overrides:
- paint in class Component
reshape
public void reshape(int x,
int y,
int w,
int h)
- reshape the applet and ourself
- Overrides:
- reshape in class Component