<HTML> <HEAD> <TITLE>class KJavaApplet</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class KJavaApplet</h1> </TD> <TD valign="top" align="right" colspan="1"></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kjavaapplet_h.html">kjavaapplet.h</A>></code></TD></TR> <TR><TH>Inherits</TH><TD><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qobject.html">QObject</A> <small>(qt)</small> <small>[public ]</small></TD></TR> <TR><TH><A HREF="full-list-KJavaApplet.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">KJavaApplet</A></b> ( <A HREF="KJavaAppletWidget.html">KJavaAppletWidget</A>* _parent, <A HREF="KJavaAppletContext.html">KJavaAppletContext</A>* _context = 0 ) </LI> <LI> <b><A HREF="#ref2">~KJavaApplet</A></b> () </LI> <LI>void <b><A HREF="#ref3">setAppletClass</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& clazzName ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <b><A HREF="#ref4">appletClass</A></b> () </LI> <LI>void <b><A HREF="#ref5">setBaseURL</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& base ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <b><A HREF="#ref6">baseURL</A></b> () </LI> <LI>void <b><A HREF="#ref7">setCodeBase</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& codeBase ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <b><A HREF="#ref8">codeBase</A></b> () </LI> <LI>void <b><A HREF="#ref9">setArchives</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _archives ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <b><A HREF="#ref10">archives</A></b> () </LI> <LI>void <b><A HREF="#ref11">setAppletName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <b><A HREF="#ref12">appletName</A></b> () </LI> <LI>void <b><A HREF="#ref13">setSize</A></b> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsize.html">QSize</A> size ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsize.html">QSize</A> <b><A HREF="#ref14">size</A></b> () </LI> <LI>void <b><A HREF="#ref15">setParameter</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& value ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <b><A HREF="#ref16">parameter</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmap.html">QMap</A><<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>,<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>>& <b><A HREF="#ref17">getParams</A></b> () </LI> <LI>void <b><A HREF="#ref18">setWindowName</A></b> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& title ) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <b><A HREF="#ref19">getWindowName</A></b> () </LI> <LI>void <b><A HREF="#ref20">resizeAppletWidget</A></b> ( int width, int height ) </LI> <LI>void <b><A HREF="#ref21">create</A></b> () </LI> <LI>void <b><A HREF="#ref22">init</A></b> () </LI> <LI>bool <b><A HREF="#ref23">isCreated</A></b> () </LI> <LI>void <b><A HREF="#ref24">start</A></b> () </LI> <LI>void <b><A HREF="#ref25">stop</A></b> () </LI> <LI>int <b><A HREF="#ref26">appletId</A></b> () </LI> <LI>void <b><A HREF="#ref27">setAppletId</A></b> ( int id ) </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><A NAME="KJavaApplet"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KJavaApplet</strong> ( <A HREF="KJavaAppletWidget.html">KJavaAppletWidget</A>* _parent, <A HREF="KJavaAppletContext.html">KJavaAppletContext</A>* _context = 0 ) <br></td><td align="right"><h3><strong>KJavaApplet</strong></h3></td></tr></table><p></p><A NAME="~KJavaApplet"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KJavaApplet</strong> () <br></td><td align="right"><h3><strong>~KJavaApplet</strong></h3></td></tr></table><p></p><A NAME="setAppletClass"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setAppletClass</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& clazzName ) <br></td><td align="right"><h3><strong>setAppletClass</strong></h3></td></tr></table><p></p><p> Specify the name of the class file to run. For example 'Lake.class'. </p> <A NAME="appletClass"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <strong>appletClass</strong> () <br></td><td align="right"><h3><strong>appletClass</strong></h3></td></tr></table><p></p><p> Get the name of the Class file the applet should run </p> <A NAME="setBaseURL"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setBaseURL</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& base ) <br></td><td align="right"><h3><strong>setBaseURL</strong></h3></td></tr></table><p></p><p> Set the URL of the document embedding the applet. </p> <A NAME="baseURL"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <strong>baseURL</strong> () <br></td><td align="right"><h3><strong>baseURL</strong></h3></td></tr></table><p></p><p> get the Base URL of the document embedding the applet </p> <A NAME="setCodeBase"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setCodeBase</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& codeBase ) <br></td><td align="right"><h3><strong>setCodeBase</strong></h3></td></tr></table><p></p><p> Set the codebase of the applet classes. </p> <A NAME="codeBase"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <strong>codeBase</strong> () <br></td><td align="right"><h3><strong>codeBase</strong></h3></td></tr></table><p></p><p> Get the codebase of the applet classes </p> <A NAME="setArchives"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setArchives</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& _archives ) <br></td><td align="right"><h3><strong>setArchives</strong></h3></td></tr></table><p></p><p> Set the list of archives at the Applet's codebase to search in for class files and other resources </p> <A NAME="archives"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <strong>archives</strong> () <br></td><td align="right"><h3><strong>archives</strong></h3></td></tr></table><p></p><p> Get the list of Archives that should be searched for class files and other resources </p> <A NAME="setAppletName"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setAppletName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name ) <br></td><td align="right"><h3><strong>setAppletName</strong></h3></td></tr></table><p></p><p> Set the name the applet should be called in it's context </p> <A NAME="appletName"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <strong>appletName</strong> () <br></td><td align="right"><h3><strong>appletName</strong></h3></td></tr></table><p></p><p> Get the name the applet should be called in it's context </p> <A NAME="setSize"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setSize</strong> ( <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsize.html">QSize</A> size ) <br></td><td align="right"><h3><strong>setSize</strong></h3></td></tr></table><p></p><p> Set the size of the applet </p> <A NAME="size"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qsize.html">QSize</A> <strong>size</strong> () <br></td><td align="right"><h3><strong>size</strong></h3></td></tr></table><p></p><p> Get the size of the applet </p> <A NAME="setParameter"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setParameter</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name, const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& value ) <br></td><td align="right"><h3><strong>setParameter</strong></h3></td></tr></table><p></p><p> Specify a parameter to be passed to the applet. </p> <A NAME="parameter"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <strong>parameter</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& name ) <br></td><td align="right"><h3><strong>parameter</strong></h3></td></tr></table><p></p><p> Look up the parameter value for the given Parameter. Returns QString::null if the name has not been set. </p> <A NAME="getParams"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qmap.html">QMap</A><<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>,<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>>& <strong>getParams</strong> () <br></td><td align="right"><h3><strong>getParams</strong></h3></td></tr></table><p></p><p> Get a reference to the Paramaters and their values </p> <A NAME="setWindowName"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setWindowName</strong> ( const <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& title ) <br></td><td align="right"><h3><strong>setWindowName</strong></h3></td></tr></table><p></p><p> Set the window title for swallowing </p> <A NAME="getWindowName"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A>& <strong>getWindowName</strong> () <br></td><td align="right"><h3><strong>getWindowName</strong></h3></td></tr></table><p></p><p> Get the window title this applet should use </p> <A NAME="resizeAppletWidget"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>resizeAppletWidget</strong> ( int width, int height ) <br></td><td align="right"><h3><strong>resizeAppletWidget</strong></h3></td></tr></table><p></p><p> Interface for applets to resize themselves </p> <A NAME="create"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>create</strong> () <br></td><td align="right"><h3><strong>create</strong></h3></td></tr></table><p></p><p> Send message to AppletServer to create this applet's frame to be swallowed and download the applet classes </p> <A NAME="init"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>init</strong> () <br></td><td align="right"><h3><strong>init</strong></h3></td></tr></table><p></p><p> Send message to AppletServer to Initialize and show this applet </p> <A NAME="isCreated"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool <strong>isCreated</strong> () <br></td><td align="right"><h3><strong>isCreated</strong></h3></td></tr></table><p></p><p> Returns status of applet- whether it's been created or not </p> <A NAME="start"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>start</strong> () <br></td><td align="right"><h3><strong>start</strong></h3></td></tr></table><p></p><p> Run the applet. </p> <A NAME="stop"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>stop</strong> () <br></td><td align="right"><h3><strong>stop</strong></h3></td></tr></table><p></p><p> Pause the applet. </p> <A NAME="appletId"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>appletId</strong> () <br></td><td align="right"><h3><strong>appletId</strong></h3></td></tr></table><p></p><p> Returns the unique ID this applet is given </p> <A NAME="setAppletId"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setAppletId</strong> ( int id ) <br></td><td align="right"><h3><strong>setAppletId</strong></h3></td></tr></table><p></p><p> Set the applet ID. </p> <HR> <table> <tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:38 2002, using kdoc 2.0a53.</small></td></tr> </table> </BODY> </HTML>