KJavaAppletContext Class Reference
Provides a context for KJavaAppletWidgets. More...
#include <kjavaappletcontext.h>
Inheritance diagram for KJavaAppletContext:


Signals | |
void | showStatus (const QString &txt) |
void | showDocument (const QString &url, const QString &target) |
void | appletLoaded () |
Public Member Functions | |
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 | getMember (QStringList &args, QStringList &ret_args) |
bool | putMember (QStringList &args) |
bool | callMember (QStringList &args, QStringList &ret_args) |
void | derefObject (QStringList &args) |
KJavaAppletServer * | getServer () const |
Protected Slots | |
void | received (const QString &cmd, const QStringList &arg) |
void | javaProcessExited (int) |
Protected Attributes | |
KJavaAppletServer * | server |
Static Protected Attributes | |
static int | contextCount = 0 |
Detailed Description
Provides a context for KJavaAppletWidgets.Applets run in a context- (see the Java documentation for more information on contexts). Currently, each document in KHTML creates one context, in which multiple applets can run.
- Author:
- Richard J. Moore, rich@kde.org
Wynn Wilkes, wynnw@caldera.com
Definition at line 45 of file kjavaappletcontext.h.
Member Function Documentation
|
Returns the ID of this context.
Definition at line 72 of file kjavaappletcontext.cpp. |
|
Sets the ID of this context.
Definition at line 77 of file kjavaappletcontext.cpp. |
|
registers applet
Definition at line 82 of file kjavaappletcontext.cpp. Referenced by KJavaApplet::setAppletContext(). |
|
Sends a message to create the applet.
Definition at line 90 of file kjavaappletcontext.cpp. References KJavaAppletServer::createApplet(). Referenced by KJavaApplet::create(). |
|
Sends a message to destroy the applet.
Definition at line 108 of file kjavaappletcontext.cpp. References KJavaAppletServer::destroyApplet(). |
|
Sends a message to initialize the applet.
Definition at line 116 of file kjavaappletcontext.cpp. References KJavaAppletServer::initApplet(). Referenced by KJavaApplet::init(). |
|
Sends a message to start the applet.
Definition at line 121 of file kjavaappletcontext.cpp. References KJavaAppletServer::startApplet(). Referenced by KJavaApplet::start(). |
|
Sends a message to stop the applet.
Definition at line 126 of file kjavaappletcontext.cpp. References KJavaAppletServer::stopApplet(). Referenced by KJavaApplet::stop(). |
|
use this for applet call backs, the AppletServer calls this directly.
Definition at line 131 of file kjavaappletcontext.cpp. |
|
LiveConnect functions.
Definition at line 254 of file kjavaappletcontext.cpp. References KJavaAppletServer::getMember(). |
|
Signals the KHMTL Part to show this as the status message.
|
|
Signals the KHTML Part to show a url in a given target.
|
|
Signals the KHTML Part an applet is loaded.
|
The documentation for this class was generated from the following files: