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
-
code
- The applet code.
-
param
- The parameters for the applet stored in a properties object.
-
parameters
- The parameters for the applet.
-
AppletWidget()
-
-
appletResize(int, int)
-
-
destroy()
- Destroy the applet.
-
getApplet(String)
-
-
getAppletContext()
-
-
getApplets()
-
-
getAudioClip(URL)
-
-
getCode()
- Get the code of this applet.
-
getCodeBase()
-
-
getDocumentBase()
-
-
getEditor()
- Get the editor for this widget.
-
getImage(URL)
-
-
getParameter(String)
-
-
getParameters()
- Get the parameters of this widget (as a string seperated by
newlines).
-
getProperties(PropertyList)
- Get the properties of this widget.
-
init()
- Initialize the applet.
-
isActive()
-
-
newComponent()
- Create the AWT component.
-
paint(Graphics)
- Paint the widget (if the awt component is not visible).
-
setCode(String)
- Set the code of the applet.
-
setParameters(String)
- Set the parameters for this widget (as a string seperated by
newlines).
-
setProperties(PropertyList)
- Set the properties of this widget.
-
showDocument(URL)
-
-
showDocument(URL, String)
-
-
showStatus(String)
-
-
start()
- Start the applet.
-
stop()
- Stop the applet.
param
public Properties param
- The parameters for the applet stored in a properties object.
- See Also:
- paramaters
code
public String code
- The applet code.
- See Also:
- getCode, setCode
parameters
public String parameters
- The parameters for the applet.
- See Also:
- getParameters, setParameters
AppletWidget
public AppletWidget()
getProperties
public void getProperties(PropertyList list)
- Get the properties of this widget.
- Overrides:
- getProperties in class Widget
setProperties
public void setProperties(PropertyList list)
- Set the properties of this widget.
- Overrides:
- setProperties in class Widget
getCode
public String getCode()
- Get the code of this applet.
- See Also:
- code
setCode
public void setCode(String code)
- Set the code of the applet.
This will actually change the applet displayed.
- See Also:
- code
getParameters
public String getParameters()
- Get the parameters of this widget (as a string seperated by
newlines).
- See Also:
- parameters
setParameters
public void setParameters(String parameters)
- Set the parameters for this widget (as a string seperated by
newlines).
- See Also:
- parameters
getEditor
public String getEditor()
- Get the editor for this widget.
- Overrides:
- getEditor in class Widget
newComponent
public Component newComponent()
- Create the AWT component.
- Overrides:
- newComponent in class AWTWidget
init
public void init()
- Initialize the applet.
- Overrides:
- init in class AWTWidget
start
public void start()
- Start the applet.
- Overrides:
- start in class AWTWidget
stop
public void stop()
- Stop the applet.
- Overrides:
- stop in class AWTWidget
destroy
public void destroy()
- Destroy the applet.
- Overrides:
- destroy in class AWTWidget
paint
public void paint(Graphics g)
- Paint the widget (if the awt component is not visible).
- Overrides:
- paint in class Widget
isActive
public boolean isActive()
getDocumentBase
public URL getDocumentBase()
getCodeBase
public URL getCodeBase()
getParameter
public String getParameter(String name)
getAppletContext
public AppletContext getAppletContext()
appletResize
public void appletResize(int width,
int height)
getAudioClip
public AudioClip getAudioClip(URL url)
getImage
public Image getImage(URL url)
getApplet
public Applet getApplet(String name)
getApplets
public Enumeration getApplets()
showDocument
public void showDocument(URL url)
showDocument
public void showDocument(URL url,
String target)
showStatus
public void showStatus(String status)
All Packages Class Hierarchy This Package Previous Next Index