Class java.rmi.examples.util.AppletFrame
All Packages Class Hierarchy This Package Previous Next Index
Class java.rmi.examples.util.AppletFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----java.rmi.examples.util.AppletFrame
- public class AppletFrame
- extends Frame
- implements AppletStub
-
AppletFrame(Applet, String, String[])
-
-
appletResize(int, int)
- Called when the applet wants to be resized.
-
getAppletContext()
- Gets a handler to the applet's context.
-
getCodeBase()
- Gets the base URL.
-
getDocumentBase()
- Gets the document URL.
-
getParameter(String)
- Gets a parameter of the applet.
-
handleEvent(Event)
- Handles the event.
-
isActive()
- Returns true if the applet is active.
-
main(String[])
-
AppletFrame
public AppletFrame(Applet applet,
String title,
String args[])
handleEvent
public boolean handleEvent(Event e)
- Handles the event.
- Overrides:
- handleEvent in class Component
isActive
public boolean isActive()
- Returns true if the applet is active.
getDocumentBase
public URL getDocumentBase()
- Gets the document URL.
getCodeBase
public URL getCodeBase()
- Gets the base URL.
getParameter
public String getParameter(String param)
- Gets a parameter of the applet.
The supplied command arguments are scanned looking for
an argument with the syntax name="value"
getAppletContext
public AppletContext getAppletContext()
- Gets a handler to the applet's context.
appletResize
public void appletResize(int width,
int height)
- Called when the applet wants to be resized.
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index