class KJavaAppletServer

Communicates with a KJAS server to display and control Java applets. More...

Definition#include <kjavaappletserver.h>
InheritsQObject (kdecore)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Public Static Methods

Protected Methods

Protected Slots

Protected Members


Detailed Description

KJavaAppletServerallocateJavaServer ()

[static]

A factory method that returns the default server. This is the way this class is usually instantiated.

void  freeJavaServer ()

[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.

void  createApplet ( int contextId, int appletId, const QString name, const QString clazzName, const QString baseURL, const QString codeBase, const QString jarFile, QSize size )

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.

void  quit ()

Shut down the KJAS server.

void  receivedCommand ( const QString &cmd, const QStringList &arg )

[signal]

Command received from java vm

KJavaProcess * process

[protected]

struct KJavaAppletServerPrivate * d

[protected]

 KJavaAppletServer ()

[protected]

Create the applet server.

KJavaAppletServer ()

[protected]

void  received ( const QString &s )

[protected slot]