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

Spinner.ChangeDispatcher Struct Reference

List of all members.

Detailed Description

Dispatcher for the "onChange" message for the Spinner control.

The "add" method takes several delegate forms as input:

 void delegate (Spinner spinner, float value);
 void delegate (float value);

"spinner" is the spinner control that generates this message, while "value" is the new setting.

Public Types

typedef void(* aMethodA )(Spinner spinner, float value)
 A form of method call for the #ChangeDispatcher that takes two arguments.

typedef void(* aMethodB )(float value)
 A second form of method call that takes just one argument.

Public Member Functions

void add (aMethodA method)
 Add a method to the list that takes (Spinner spinner, float value) arguments.

void add (aMethodB method)
 Add a method to the list that takes (float value) arguments.

void notify (Spinner spinner, float value)
 Notify the methods that an event has occured.

Public Attributes

aMethodA[] methodas
 The list of first-form methods to call on notify.

aMethodB[] methodbs
 The list of second-form methods to call on notify.

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