java.applet
Interface AppletStub


public interface AppletStub

This interface is used to implement an applet viewer. It is not normally used by applet programmers.


Method Summary
 void appletResize(int width, int height)
          Called when the applet wants to be resized.
 AppletContext getAppletContext()
          Gets a handler to the applet's context.
 URL getCodeBase()
          Gets the base URL.
 URL getDocumentBase()
          Gets the document URL.
 String getParameter(String name)
          Gets a parameter of the applet.
 boolean isActive()
          Returns true if the applet is active.
 

Method Detail

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 name)
Gets a parameter of the applet.


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.