class KJavaAppletServer
|
Communicates with a KJAS server to display and control Java applets.
More... |
|
|
Public Methods
- 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 ()
Signals
Public Static Methods
Protected Methods
Protected Slots
Protected Members
- KJavaProcess *process
- struct KJavaAppletServerPrivate *d
Detailed Description
[static]
A factory method that returns the default server. This is the way this
class is usually instantiated.
[static]
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.
[signal]
Command received from java vm
[protected]
struct KJavaAppletServerPrivate * d
|
[protected]
[protected]
Create the applet server.
[protected]
[protected slot]
- Version: $Id: kjavaappletserver.h,v 1.8 2000/09/27 11:46:32 sschiman Exp $
- Author: Richard J. Moore, rich@kde.org
- Generated: prospector@porky.devel.redhat.com on Fri Nov 3 09:59:17 2000, using kdoc 2.0a42.