class KJavaAppletWidget

A Java applet. More...

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

Public Methods

Protected Slots

Protected Members


Detailed Description

This class encapsulates the data the Applet Server needs to load the Applet class files, and set the proper size of the Applet. It also has an interface for applets to resize themselves.

 KJavaAppletWidget ( KJavaAppletContext* context, QWidget* parent=0, const char* name=0 )

 ~KJavaAppletWidget ()

KJavaApplet*  applet ()

Returns a pointer to the KJavaApplet. Use this to configure the applet's parameters. You can also use it to start and stop the Applet.

void  showApplet ()

Tells the AppletServer to create, initialize, and show the Applet.

QSize  sizeHint ()

Reimplemented from KJavaEmbed.

void  resize ( int, int )

void  setWindow ( WId w )

[protected slots: slot]

This slot is called by KWin when new windows are added. We check to see if the window has the title we set. If so we embed it.

static int appletCount

[protected: ]