|
Spreadsheet Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--corpus.doodle.Stub
The Stub class provides a mechanism for obtaining information from the run-time environment. Typically, this environment is maintained by a Web browser. For this program, a Web browser environment is being simulated. Great article on creating applet/application hybrid http://www.javaworld.com/javaworld/jw-11-2000/jw-1103-java101.html
Constructor Summary | |
Stub(java.lang.String[] args)
Create a new Stub object. |
Method Summary | |
void |
appletResize(int width,
int height)
Resize the applet. |
java.applet.AppletContext |
getAppletContext()
Return a reference to the applet's context. |
java.net.URL |
getCodeBase()
Return the complete URL of the applet's .class file(s). |
java.net.URL |
getDocumentBase()
Return the complete URL of the HTML document containing the applet. |
java.lang.String |
getParameter(java.lang.String name)
Return the value of the applet parameter, identified by the name argument. |
boolean |
isActive()
Return the current state of an applet. |
void |
setActive(boolean active)
The following method is an extra method that is called to set the value of the private active variable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Stub(java.lang.String[] args)
Method Detail |
public boolean isActive()
isActive
in interface java.applet.AppletStub
public java.net.URL getDocumentBase()
getDocumentBase
in interface java.applet.AppletStub
public java.net.URL getCodeBase()
getCodeBase
in interface java.applet.AppletStub
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface java.applet.AppletStub
public java.applet.AppletContext getAppletContext()
getAppletContext
in interface java.applet.AppletStub
public void appletResize(int width, int height)
appletResize
in interface java.applet.AppletStub
public void setActive(boolean active)
|
Spreadsheet Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |