home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 October
/
Chip_1997-10_cd.bin
/
tema
/
sybase
/
powerj
/
java.z
/
AppletStub.java
< prev
next >
Wrap
Text File
|
1996-05-03
|
2KB
|
61 lines
/*
* @(#)AppletStub.java 1.8 95/12/14 Arthur van Hoff
*
* Copyright (c) 1994-1995 Sun Microsystems, Inc. All Rights Reserved.
*
* Permission to use, copy, modify, and distribute this software
* and its documentation for NON-COMMERCIAL purposes and without
* fee is hereby granted provided that this copyright notice
* appears in all copies. Please refer to the file "copyright.html"
* for further important copyright and licensing information.
*
* SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
* THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
* ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
*/
package java.applet;
import java.net.URL;
/**
* This interface is used to implement an applet viewer. It is not
* normally used by applet programmers.
*
* @version 1.8, 14 Dec 1995
* @author Arthur van Hoff
*/
public interface AppletStub {
/**
* Returns true if the applet is active.
*/
boolean isActive();
/**
* Gets the document URL.
*/
URL getDocumentBase();
/**
* Gets the base URL.
*/
URL getCodeBase();
/**
* Gets a parameter of the applet.
*/
String getParameter(String name);
/**
* Gets a handler to the applet's context.
*/
AppletContext getAppletContext();
/**
* Called when the applet wants to be resized.
*/
void appletResize(int width, int height);
}