Table of Contents
Previous Section
CheckboxApplet
Synopsis
WOApplet { code = "next.wo.client.controls.CheckboxApplet.class";
title=aTitle; action=method; checked="YES"|"NO";...};
Description
A CheckboxApplet is a control that uses an image of a check box to indicate "off" and "on" (or unselected and selected) states. It can invoke an action method upon a change of state. The CheckboxApplet class "wraps" the java.awt.Checkbox class.
- title
- The title of the check box.
- action
- The method to invoke when the check box is clicked.
- checked
- During page generation, if checked evaluates to "YES", the check box appears in the checked state. In each subsequent synchronization point, checked reflects the state the user left the check box in and the state it's set to by the action method.