# class KJavaApplet |
Definition | `#include <kjavaapplet.h>`
Inherits | QObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KJavaApplet ( KJavaAppletWidget* _parent, KJavaAppletContext* _context = 0 )
- ~KJavaApplet ()
- 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 )

## Detailed Description

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

~KJavaApplet () | ### ~KJavaApplet

void setAppletClass ( const QString& clazzName ) | ### setAppletClass

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

QString& appletClass () | ### appletClass

Get the name of the Class file the applet should run

void setBaseURL ( const QString& base ) | ### setBaseURL

Set the URL of the document embedding the applet.

QString& baseURL () | ### baseURL

get the Base URL of the document embedding the applet

void setCodeBase ( const QString& codeBase ) | ### setCodeBase

Set the codebase of the applet classes.

QString& codeBase () | ### codeBase

Get the codebase of the applet classes

void setArchives ( const QString& _archives ) | ### setArchives

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

QString& archives () | ### archives

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

void setAppletName ( const QString& name ) | ### setAppletName

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

QString& appletName () | ### appletName

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

void setSize ( QSize size ) | ### setSize

Set the size of the applet

QSize size () | ### size

Get the size of the applet

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

Specify a parameter to be passed to the applet.

QString& parameter ( const QString& name ) | ### parameter

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

QMap<QString,QString>& getParams () | ### getParams

Get a reference to the Paramaters and their values

void setWindowName ( const QString& title ) | ### setWindowName

Set the window title for swallowing

QString& getWindowName () | ### getWindowName

Get the window title this applet should use

void resizeAppletWidget ( int width, int height ) | ### resizeAppletWidget

Interface for applets to resize themselves

void create () | ### create

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

void init () | ### init

Send message to AppletServer to Initialize and show this applet

bool isCreated () | ### isCreated

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

void start () | ### start

Run the applet.

void stop () | ### stop

Pause the applet.

int appletId () | ### appletId

Returns the unique ID this applet is given

void setAppletId ( int id ) | ### setAppletId

Set the applet ID.

Generated by: root@sparc.ports.openbsd.org on Wed May 2 09:45:56 2001, using kdoc 2.0a53.