class KJavaApplet


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

Public Methods


Detailed Description

 KJavaApplet ( KJavaAppletWidget* _parent, KJavaAppletContext* _context = 0 )

 ~KJavaApplet ()

void  setAppletClass ( const QString& clazzName )

Specify the name of the class file to run. For example 'Lake.class'.

QString&  appletClass ()

Get the name of the Class file the applet should run

void  setBaseURL ( const QString& base )

Set the URL of the document embedding the applet.

QString&  baseURL ()

get the Base URL of the document embedding the applet

void  setCodeBase ( const QString& codeBase )

Set the codebase of the applet classes.

QString&  codeBase ()

Get the codebase of the applet classes

void  setArchives ( const QString& _archives )

Set the list of archives at the Applet's codebase to search in for class files and other resources

QString&  archives ()

Get the list of Archives that should be searched for class files and other resources

void  setAppletName ( const QString& name )

Set the name the applet should be called in it's context

QString&  appletName ()

Get the name the applet should be called in it's context

void  setSize ( QSize size )

Set the size of the applet

QSize  size ()

Get the size of the applet

void  setParameter ( const QString& name, const QString& value )

Specify a parameter to be passed to the applet.

QString&  parameter ( const QString& name )

Look up the parameter value for the given Parameter. Returns QString::null if the name has not been set.

QMap<QString,QString>&  getParams ()

Get a reference to the Paramaters and their values

void  setWindowName ( const QString& title )

Set the window title for swallowing

QString&  getWindowName ()

Get the window title this applet should use

void  resizeAppletWidget ( int width, int height )

Interface for applets to resize themselves

void  create ()

Send message to AppletServer to create this applet's frame to be swallowed and download the applet classes

void  init ()

Send message to AppletServer to Initialize and show this applet

bool  isCreated ()

Returns status of applet- whether it's been created or not

void  start ()

Run the applet.

void  stop ()

Pause the applet.

int  appletId ()

Returns the unique ID this applet is given

void  setAppletId ( int id )

Set the applet ID.


Generated by: marc@yogi on Tue Mar 27 13:09:13 2001, using kdoc 2.0a48.