class KJavaAppletContext

# class KJavaAppletContext | Communicates with a KJAS server to display and control Java applets. More...
Definition | `#include <kjavaappletcontext.h>`
Inherits | QObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KJavaAppletContext ()
- ~KJavaAppletContext ()
- int contextId ()
- void setContextId ( int id )
- void registerApplet ( KJavaApplet* )
- bool create ( KJavaApplet* )
- void destroy ( KJavaApplet* )
- void init ( KJavaApplet* )
- void start ( KJavaApplet* )
- void stop ( KJavaApplet* )
- void processCmd ( QString cmd, QStringList args )
- bool appletsLoaded () const
- bool getMember (KJavaApplet *, const unsigned long, const QString &, int &, unsigned long &, QString &)
- bool putMember (KJavaApplet *, const unsigned long, const QString &, const QString &)
- bool callMember (KJavaApplet *, const unsigned long, const QString &, const QStringList &, int &, unsigned long &, QString &)
- void derefObject (KJavaApplet *, const unsigned long id)

#### Signals

- void showStatus ( const QString& txt )
- void showDocument ( const QString& url, const QString& target )
- void appletLoaded ()

#### Protected Slots

- void received ( const QString& cmd, const QStringList& arg )

#### Protected Members

- static int contextCount
- KJavaAppletServer* server

## Detailed Description

KJavaAppletContext () | ### KJavaAppletContext

~KJavaAppletContext () | ### ~KJavaAppletContext

int contextId () | ### contextId

Returns the ID of this context.

void setContextId ( int id ) | ### setContextId

Sets the ID of this context.

void registerApplet ( KJavaApplet* ) | ### registerApplet

registers applet

bool create ( KJavaApplet* ) | ### create

Sends a message to create the applet.

void destroy ( KJavaApplet* ) | ### destroy

Sends a message to destroy the applet.

void init ( KJavaApplet* ) | ### init

Sends a message to initialize the applet.

void start ( KJavaApplet* ) | ### start

Sends a message to start the applet.

void stop ( KJavaApplet* ) | ### stop

Sends a message to stop the applet.

void processCmd ( QString cmd, QStringList args ) | ### processCmd

use this for applet call backs, the AppletServer calls this directly.

bool appletsLoaded () | ### appletsLoaded

[const]

Check if the applets are loaded by the Java Virtual Machine

bool getMember (KJavaApplet *, const unsigned long, const QString &, int &, unsigned long &, QString &) | ### getMember

LiveConnect functions

bool putMember (KJavaApplet *, const unsigned long, const QString &, const QString &) | ### putMember

bool callMember (KJavaApplet *, const unsigned long, const QString &, const QStringList &, int &, unsigned long &, QString &) | ### callMember

void derefObject (KJavaApplet *, const unsigned long id) | ### derefObject

void showStatus ( const QString& txt ) | ### showStatus

[signal]

Signals the KHMTL Part to show this as the status message.

void showDocument ( const QString& url, const QString& target ) | ### showDocument

[signal]

Signals the KHTML Part to show a url in a given target

void appletLoaded () | ### appletLoaded

[signal]

Signals the KHTML Part an applet is loaded

static int contextCount | ### contextCount

[protected]

KJavaAppletServer* server | ### server

[protected]

void received ( const QString& cmd, const QStringList& arg ) | ### received

[protected slots slot]

- Version: $Id: kjavaappletserver.h,v 1.21.2.1 2003/05/06 20:56:39 vriezen Exp $
- Author: Richard J. Moore, rich@kde.org
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:53 2003, using kdoc 2.0a54.