.TH "KJavaAppletContext" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJavaAppletContext \- Provides a context for KJavaAppletWidgets.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kjavaappletcontext.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBshowStatus\fP (const \fBQString\fP &txt)"
.br
.ti -1c
.RI "void \fBshowDocument\fP (const \fBQString\fP &url, const \fBQString\fP &target)"
.br
.ti -1c
.RI "void \fBappletLoaded\fP ()"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "int \fBcontextId\fP ()"
.br
.ti -1c
.RI "void \fBsetContextId\fP (int id)"
.br
.ti -1c
.RI "void \fBregisterApplet\fP (\fBKJavaApplet\fP *)"
.br
.ti -1c
.RI "bool \fBcreate\fP (\fBKJavaApplet\fP *)"
.br
.ti -1c
.RI "void \fBdestroy\fP (\fBKJavaApplet\fP *)"
.br
.ti -1c
.RI "void \fBinit\fP (\fBKJavaApplet\fP *)"
.br
.ti -1c
.RI "void \fBstart\fP (\fBKJavaApplet\fP *)"
.br
.ti -1c
.RI "void \fBstop\fP (\fBKJavaApplet\fP *)"
.br
.ti -1c
.RI "void \fBprocessCmd\fP (\fBQString\fP cmd, \fBQStringList\fP args)"
.br
.ti -1c
.RI "bool \fBgetMember\fP (\fBQStringList\fP &args, \fBQStringList\fP &ret_args)"
.br
.ti -1c
.RI "bool \fBputMember\fP (\fBQStringList\fP &args)"
.br
.ti -1c
.RI "bool \fBcallMember\fP (\fBQStringList\fP &args, \fBQStringList\fP &ret_args)"
.br
.ti -1c
.RI "void \fBderefObject\fP (\fBQStringList\fP &args)"
.br
.ti -1c
.RI "\fBKJavaAppletServer\fP * \fBgetServer\fP () const "
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBreceived\fP (const \fBQString\fP &cmd, const \fBQStringList\fP &arg)"
.br
.ti -1c
.RI "void \fBjavaProcessExited\fP (int)"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBKJavaAppletServer\fP * \fBserver\fP"
.br
.in -1c
.SS "Static Protected Attributes"

.in +1c
.ti -1c
.RI "static int \fBcontextCount\fP = 0"
.br
.in -1c
.SH "Detailed Description"
.PP 
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.
.PP
\fBAuthor:\fP
.RS 4
Richard J. Moore, rich@kde.org 
.PP
Wynn Wilkes, wynnw@caldera.com 
.RE
.PP

.PP
Definition at line 45 of file kjavaappletcontext.h.
.SH "Member Function Documentation"
.PP 
.SS "int KJavaAppletContext::contextId ()"
.PP
Returns the ID of this context. 
.PP
Definition at line 72 of file kjavaappletcontext.cpp.
.SS "void KJavaAppletContext::setContextId (int id)"
.PP
Sets the ID of this context. 
.PP
Definition at line 77 of file kjavaappletcontext.cpp.
.SS "void KJavaAppletContext::registerApplet (\fBKJavaApplet\fP *)"
.PP
registers applet 
.PP
Definition at line 82 of file kjavaappletcontext.cpp.
.PP
Referenced by KJavaApplet::setAppletContext().
.SS "bool KJavaAppletContext::create (\fBKJavaApplet\fP *)"
.PP
Sends a message to create the applet. 
.PP
Definition at line 90 of file kjavaappletcontext.cpp.
.PP
References KJavaAppletServer::createApplet().
.PP
Referenced by KJavaApplet::create().
.SS "void KJavaAppletContext::destroy (\fBKJavaApplet\fP *)"
.PP
Sends a message to destroy the applet. 
.PP
Definition at line 108 of file kjavaappletcontext.cpp.
.PP
References KJavaAppletServer::destroyApplet().
.SS "void KJavaAppletContext::init (\fBKJavaApplet\fP *)"
.PP
Sends a message to initialize the applet. 
.PP
Definition at line 116 of file kjavaappletcontext.cpp.
.PP
References KJavaAppletServer::initApplet().
.PP
Referenced by KJavaApplet::init().
.SS "void KJavaAppletContext::start (\fBKJavaApplet\fP *)"
.PP
Sends a message to start the applet. 
.PP
Definition at line 121 of file kjavaappletcontext.cpp.
.PP
References KJavaAppletServer::startApplet().
.PP
Referenced by KJavaApplet::start().
.SS "void KJavaAppletContext::stop (\fBKJavaApplet\fP *)"
.PP
Sends a message to stop the applet. 
.PP
Definition at line 126 of file kjavaappletcontext.cpp.
.PP
References KJavaAppletServer::stopApplet().
.PP
Referenced by KJavaApplet::stop().
.SS "void KJavaAppletContext::processCmd (\fBQString\fP cmd, \fBQStringList\fP args)"
.PP
use this for applet call backs, the AppletServer calls this directly. 
.PP
Definition at line 131 of file kjavaappletcontext.cpp.
.SS "bool KJavaAppletContext::getMember (\fBQStringList\fP & args, \fBQStringList\fP & ret_args)"
.PP
LiveConnect functions. 
.PP
Definition at line 254 of file kjavaappletcontext.cpp.
.PP
References KJavaAppletServer::getMember().
.SS "void KJavaAppletContext::showStatus (const \fBQString\fP & txt)\fC [signal]\fP"
.PP
Signals the KHMTL Part to show this as the status message. 
.PP
.SS "void KJavaAppletContext::showDocument (const \fBQString\fP & url, const \fBQString\fP & target)\fC [signal]\fP"
.PP
Signals the KHTML Part to show a url in a given target. 
.PP
.SS "void KJavaAppletContext::appletLoaded ()\fC [signal]\fP"
.PP
Signals the KHTML Part an applet is loaded. 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
