Kai Button

Last updated: 08.05.2002


Files

Parameters

Test Applet


Files

Filename Description Java Class
KaiButtonApplet Implements an applet that allows button rollovers. [Java File] [Class File]
KaiButton Implements a button which changes its appearance in response to mouse enter or mouse down events. [Java File] [Class File]
WebKaiButton Implements a button that extends the KaiButton class to handle clicks by sending the user to a new URL. [Java File] [Class File]
ExtendedApplet Implements parameter parsing and other frequently-required applet functionality. [Java File] [Class File]
Project Archive (StuffIt) Sources and CodeWarrior project in StuffIt 5 format for Macintosh users. [StuffIt Archive]  
Project Archive (ZIP) Sources in ZIP format for PC users. [ZIP Archive]  

To download source or class files, click on the file icon with your right mouse button (Windows/UNIX) or click and hold (Macintosh) and choose "Save ..." or "Download ...". Archives containing the sources for this applet are provided in StuffIt 5 and Zip format.

Parameters

Parameter Type Values Default Notes
inactive String - - Partial URL for the inactive button image. This is the location of the image relative to the page that contains the applet.
active String - - Partial URL for the active button image.
clicked String - - Partial URL for the clicked button image.
url String - - URL to send the user to when they click the button. This may be an absolute URL or relative to the current page.
background-color Color #rrggbb - Background color for button. If not specified, the browser's background color (which typically evaluates to browser gray, irrespective of the actual page background color) will be used.

Test Applet

No interactive tester is available for this applet.

[raingod:resources:java] -- [up][links][home]