Class marimba.gui.AppletWidget
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.gui.AppletWidget

java.lang.Object
   |
   +----marimba.gui.Widget
           |
           +----marimba.gui.AWTWidget
                   |
                   +----marimba.gui.AppletWidget

public class AppletWidget
extends AWTWidget
implements AppletStub, AppletContext
A wrapper widget for applets.
Version:
1.16, 11/15/96
Author:
Arthur van Hoff

Variable Index

 o code
The applet code.
 o param
The parameters for the applet stored in a properties object.
 o parameters
The parameters for the applet.

Constructor Index

 o AppletWidget()

Method Index

 o appletResize(int, int)
 o destroy()
Destroy the applet.
 o getApplet(String)
 o getAppletContext()
 o getApplets()
 o getAudioClip(URL)
 o getCode()
Get the code of this applet.
 o getCodeBase()
 o getDocumentBase()
 o getEditor()
Get the editor for this widget.
 o getImage(URL)
 o getParameter(String)
 o getParameters()
Get the parameters of this widget (as a string seperated by newlines).
 o getProperties(PropertyList)
Get the properties of this widget.
 o init()
Initialize the applet.
 o isActive()
 o newComponent()
Create the AWT component.
 o paint(Graphics)
Paint the widget (if the awt component is not visible).
 o setCode(String)
Set the code of the applet.
 o setParameters(String)
Set the parameters for this widget (as a string seperated by newlines).
 o setProperties(PropertyList)
Set the properties of this widget.
 o showDocument(URL)
 o showDocument(URL, String)
 o showStatus(String)
 o start()
Start the applet.
 o stop()
Stop the applet.

Variables

 o param
  public Properties param
The parameters for the applet stored in a properties object.
See Also:
paramaters
 o code
  public String code
The applet code.
See Also:
getCode, setCode
 o parameters
  public String parameters
The parameters for the applet.
See Also:
getParameters, setParameters

Constructors

 o AppletWidget
  public AppletWidget()

Methods

 o getProperties
  public void getProperties(PropertyList list)
Get the properties of this widget.
Overrides:
getProperties in class Widget
 o setProperties
  public void setProperties(PropertyList list)
Set the properties of this widget.
Overrides:
setProperties in class Widget
 o getCode
  public String getCode()
Get the code of this applet.
See Also:
code
 o setCode
  public void setCode(String code)
Set the code of the applet. This will actually change the applet displayed.
See Also:
code
 o getParameters
  public String getParameters()
Get the parameters of this widget (as a string seperated by newlines).
See Also:
parameters
 o setParameters
  public void setParameters(String parameters)
Set the parameters for this widget (as a string seperated by newlines).
See Also:
parameters
 o getEditor
  public String getEditor()
Get the editor for this widget.
Overrides:
getEditor in class Widget
 o newComponent
  public Component newComponent()
Create the AWT component.
Overrides:
newComponent in class AWTWidget
 o init
  public void init()
Initialize the applet.
Overrides:
init in class AWTWidget
 o start
  public void start()
Start the applet.
Overrides:
start in class AWTWidget
 o stop
  public void stop()
Stop the applet.
Overrides:
stop in class AWTWidget
 o destroy
  public void destroy()
Destroy the applet.
Overrides:
destroy in class AWTWidget
 o paint
  public void paint(Graphics g)
Paint the widget (if the awt component is not visible).
Overrides:
paint in class Widget
 o isActive
  public boolean isActive()
 o getDocumentBase
  public URL getDocumentBase()
 o getCodeBase
  public URL getCodeBase()
 o getParameter
  public String getParameter(String name)
 o getAppletContext
  public AppletContext getAppletContext()
 o appletResize
  public void appletResize(int width,
                           int height)
 o getAudioClip
  public AudioClip getAudioClip(URL url)
 o getImage
  public Image getImage(URL url)
 o getApplet
  public Applet getApplet(String name)
 o getApplets
  public Enumeration getApplets()
 o showDocument
  public void showDocument(URL url)
 o showDocument
  public void showDocument(URL url,
                           String target)
 o showStatus
  public void showStatus(String status)

All Packages  Class Hierarchy  This Package  Previous  Next  Index