class KJavaAppletServer
|
Communicates with a KJAS server to display and control Java applets.
More... |
|
|
Public Methods
- KJavaAppletServer ()
- void createContext ( int contextId )
- void destroyContext ( int contextId )
- void createApplet ( int contextId, int appletId, const QString name, const QString clazzName, const QString baseURL, const QString codeBase, const QString jarFile, QSize size )
- void destroyApplet ( int contextId, int appletId )
- void setParameter ( int contextId, int appletId, const QString name, const QString value )
- void showApplet ( int contextId, int appletId, const QString title )
- void startApplet ( int contextId, int appletId )
- void stopApplet ( int contextId, int appletId )
- void quit ()
Public Static Methods
Protected Members
- KJavaProcess * process
- Forward KJavaAppletServerPrivate
Detailed Description
<H3>Change Log</H3>
$Log: kjavaappletserver.h,v $
Revision 1.5 2000/01/27 23:41:56 rogozin
All applet parameters are passed to KJAS now
Next step - make use of them.
Revision 1.4 1999/12/14 19:56:59 rich
Many fixes, see changelog
Revision 1.3 1999/11/12 01:22:34 rich
Now trys adding a / to the code base if the class loader could not find the applet class file. Fixed applet start/stop
Revision 1.2 1999/10/09 18:10:10 rich
Const QString fixes
Revision 1.1.1.1 1999/07/22 17:28:07 rich
This is a current snapshot of my work on adding Java support
to KDE. Applets now work!
Create the applet server.
[static]
A factory method that returns the default server. This is the way this
class is usually instantiated.
void killDefaultServer ()
|
[static]
Quits the default server and allows a new server to be created.
void createContext ( int contextId )
|
Create an applet context with the specified id.
void destroyContext ( int contextId )
|
Destroy the applet context with the specified id. All the applets in the
context will be destroyed as well.
Create an applet in the specified context with the specified id. The applet
name, class etc. are specified in the same way as in the HTML APPLET tag.
void destroyApplet ( int contextId, int appletId )
|
Destroy an applet in the specified context with the specified id.
void setParameter ( int contextId, int appletId, const QString name, const QString value )
|
Set a parameter for a specified applet. The parameter and value are both
treated as strings (though the string might of course be a number e.g. "1".
void showApplet ( int contextId, int appletId, const QString title )
|
Display the specified applet and set the window title as specified.
void startApplet ( int contextId, int appletId )
|
Start the specified applet.
void stopApplet ( int contextId, int appletId )
|
Stop the specified applet.
Shut down the KJAS server.
- Version: $Id: kjavaappletserver.h,v 1.5 2000/01/27 23:41:56 rogozin Exp $
- Author: Richard J. Moore, rich@kde.org
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:39 2000, using kdoc 2.0a33.