KJavaApplet Class Reference
Inheritance diagram for KJavaApplet:

Detailed Description
Definition at line 50 of file kjavaapplet.h.
Public Types | |
UNKNOWN = 0 | |
CLASS_LOADED = 1 | |
INSTANCIATED = 2 | |
INITIALIZED = 3 | |
STARTED = 4 | |
STOPPED = 5 | |
DESTROYED = 6 | |
enum | AppletState { UNKNOWN = 0, CLASS_LOADED = 1, INSTANCIATED = 2, INITIALIZED = 3, STARTED = 4, STOPPED = 5, DESTROYED = 6 } |
Signals | |
void | jsEvent (const QStringList &args) |
Public Member Functions | |
KJavaApplet (KJavaAppletWidget *_parent, KJavaAppletContext *_context=0) | |
~KJavaApplet () | |
void | setAppletContext (KJavaAppletContext *_context) |
void | setAppletClass (const QString &clazzName) |
QString & | appletClass () |
void | setBaseURL (const QString &base) |
QString & | baseURL () |
void | setCodeBase (const QString &codeBase) |
QString & | codeBase () |
void | setArchives (const QString &_archives) |
QString & | archives () |
void | setAppletName (const QString &name) |
QString & | appletName () |
void | setSize (QSize size) |
QSize | size () |
void | setParameter (const QString &name, const QString &value) |
QString & | parameter (const QString &name) |
QMap< QString, QString > & | getParams () |
void | setWindowName (const QString &title) |
QString & | getWindowName () |
void | resizeAppletWidget (int width, int height) |
void | create () |
void | init () |
bool | isCreated () |
void | start () |
void | stop () |
int | appletId () |
void | setAppletId (int id) |
KJavaAppletContext * | getContext () const |
void | setUser (const QString &_user) |
const QString & | user () const |
void | setPassword (const QString &_password) |
const QString & | password () const |
void | setAuthName (const QString &_auth) |
const QString & | authName () const |
void | stateChange (const int newState) |
void | setFailed () |
AppletState | state () const |
bool | failed () const |
bool | isAlive () const |
void | jsData (const QStringList &args) |
Member Function Documentation
QString & KJavaApplet::appletClass | ( | ) |
Get the name of the Class file the applet should run.
Definition at line 89 of file kjavaapplet.cpp.
int KJavaApplet::appletId | ( | ) |
QString & KJavaApplet::appletName | ( | ) |
Get the name the applet should be called in its context.
Definition at line 176 of file kjavaapplet.cpp.
QString & KJavaApplet::archives | ( | ) |
Get the list of Archives that should be searched for class files and other resources.
Definition at line 144 of file kjavaapplet.cpp.
QString & KJavaApplet::baseURL | ( | ) |
get the Base URL of the document embedding the applet
Definition at line 114 of file kjavaapplet.cpp.
QString & KJavaApplet::codeBase | ( | ) |
void KJavaApplet::create | ( | ) |
Send message to AppletServer to create this applet's frame to be swallowed and download the applet classes.
Definition at line 181 of file kjavaapplet.cpp.
QString & KJavaApplet::getWindowName | ( | ) |
void KJavaApplet::init | ( | ) |
Send message to AppletServer to Initialize and show this applet.
Definition at line 188 of file kjavaapplet.cpp.
bool KJavaApplet::isCreated | ( | ) |
Returns status of applet- whether it's been created or not.
Definition at line 73 of file kjavaapplet.cpp.
void KJavaApplet::jsData | ( | const QStringList & | args | ) | [inline] |
Look up the parameter value for the given Parameter.
Returns QString::null if the name has not been set.
Definition at line 94 of file kjavaapplet.cpp.
void KJavaApplet::resizeAppletWidget | ( | int | width, | |
int | height | |||
) |
void KJavaApplet::setAppletClass | ( | const QString & | clazzName | ) |
Specify the name of the class file to run.
For example 'Lake.class'.
Definition at line 84 of file kjavaapplet.cpp.
void KJavaApplet::setAppletContext | ( | KJavaAppletContext * | _context | ) |
void KJavaApplet::setAppletId | ( | int | id | ) |
void KJavaApplet::setAppletName | ( | const QString & | name | ) |
Set the name the applet should be called in its context.
Definition at line 161 of file kjavaapplet.cpp.
void KJavaApplet::setArchives | ( | const QString & | _archives | ) |
Set the list of archives at the Applet's codebase to search in for class files and other resources.
Definition at line 139 of file kjavaapplet.cpp.
void KJavaApplet::setAuthName | ( | const QString & | _auth | ) | [inline] |
void KJavaApplet::setBaseURL | ( | const QString & | base | ) |
void KJavaApplet::setCodeBase | ( | const QString & | codeBase | ) |
void KJavaApplet::setPassword | ( | const QString & | _password | ) | [inline] |
void KJavaApplet::setSize | ( | QSize | size | ) |
void KJavaApplet::setUser | ( | const QString & | _user | ) | [inline] |
void KJavaApplet::setWindowName | ( | const QString & | title | ) |
QSize KJavaApplet::size | ( | ) |
void KJavaApplet::start | ( | ) |
void KJavaApplet::stateChange | ( | const int | newState | ) |
called from the protocol engine changes the status according to the one on the java side.
Do not call this yourself!
Definition at line 213 of file kjavaapplet.cpp.
void KJavaApplet::stop | ( | ) |
The documentation for this class was generated from the following files: