Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

ComboBox Class Reference

Inherits Control.

List of all members.


Detailed Description

A combination editor widget, also known as a drop-down box.


Public Member Functions

 this (Control parent)
 Register with the parent and create the combo box.

Dispatcheradd (char[] name, char[] string)
 Add an item and return the dispatcher called when executing it.

Dispatcheradd (char[] string)
 Add an item and return the dispatcher called when executing it.

Dispatcheradd (char[] name, char[] string, Dispatcher.Method method)
 Add an item, add a dispatcher command, and return the dispatcher.

Dispatcheradd (char[] name, char[] string, Dispatcher.MethodB method)
 Add an item, add a dispatcher command, and return the dispatcher.

Dispatcheradd (char[] string, Dispatcher.Method method)
 Add an item, add a dispatcher command, and return the dispatcher.

Dispatcheradd (char[] string, Dispatcher.MethodB method)
 Add an item, add a dispatcher command, and return the dispatcher.

void empty ()
 Clear all items out of the combo box.

void current (char[] name)
 Set the current item.

char[] current ()
 Get the name (or number) of the current selection or null if there is none.

void currentAndNotify (char[] name)
 Set the current item and notify it.

void notify (char[] name)
 Notify an item without changing the current item.

bit hasItem (char[] name)
 Return whether this named item is within the combo box.

void enabled (bit value)
 Set whether this is active (true) or grayed and inactive (false).


Public Attributes

Dispatcher onChange
 Notified when the current value is changed.


Member Data Documentation

Dispatcher ComboBox.onChange
 

Notified when the current value is changed.

The keyCode field is filled with the name of the entry.


The documentation for this class was generated from the following file:
Generated on Thu Sep 4 13:12:51 2003 for dig by doxygen 1.3.2