Class ActionEvent

GEOS-SC:  Library toolkit_lib: Class ActionEvent


The ActionEvent class manages ActionEvents, which are sent when an action takes place on a toolkit component. An example of this is when a user presses a FlexButton.

#include <toolkit/evtact.h>


Class Data and Methods

public:
enum ActionEventType;
ActionEvent(FlexComponent *source, ActionEventType actionEventType);
ActionEventType _actionEventType;
protected:

Inherited Data and Methods:

public:
FlexComponent *GetSource(void);
protected:

Back to the top of ActionEvent


Ancestors

Inheritance tree for ActionEvent:

Back to the top of ActionEvent


Descendants

Class is not inherited by any others.

Back to the top of ActionEvent


Descriptions of Class Data and Methods


enum ActionEventType;

The types of ActionEvents.

AET_ACTION_PERFORMED
An action was performed.

Declared as:

    enum ActionEventType {
    AET_ACTION_PERFORMED = 0
    };

Back to the top of ActionEvent


ActionEvent(FlexComponent *source, ActionEventType actionEventType);

Constructs an ActionEvent object with the specified source object and event type.

in *source
The object where the event originated.
in actionEventType
The ActionEventType of this event.

Status: Functional

Prototype:

    ActionEvent(FlexComponent *source, ActionEventType actionEventType);

Back to the top of ActionEvent


ActionEventType _actionEventType;

The ActionEventType of this event. This data member is set by the constructor.

Range: ActionEventType.

Declared as:

    ActionEventType _actionEventType;

Back to the top of ActionEvent


Generated from source by Geoworks on Sat Dec 12 18:31:17 1998 .