class KJavaAppletContext

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

Definition#include <kjavaappletcontext.h>
InheritsQObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Slots

Protected Members


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]