Up: W3Kit Class Reference

W3Radio

Superclass: W3ActionInput

An abstract class for a list of radio buttons (allowing only one option to be selected). The stringValue is the name of the selected option, and the intValue is the index of the option in the optionNames list.

Subclasses override this to provide a NULL-terminated list of options.

- (const char **)optionNames;
Subclasses override this to determine whether the list of options should be laid out horizontally or vertically (default is horizontal).
- (BOOL)wantsVerticalLayout;
If you want to display icons instead of text as labels for the options, you can use this method to print out just the button corresponding to a single option. No extra text will be displayed with the button, leaving the area clear for your icon.
- printHtmlAt:(int)option_index;


Up: W3Kit Class Reference

[HOME] The Geometry Center Home Page

Author: Paul Burchard
Comments to: webmaster@www.geom.uiuc.edu
Created: Apr 18 1994 --- Last modified: Tue Jun 18 10:43:30 1996