An event is an instance of a particular event-class. Events
can be subclassed to add attributes (event parameters). The base class
for all events is OMEvent.
About this task
For example, windowing systems define several
event classes: MouseEvent is a subclass of InputEvent,
and MouseClickEvent and MouseMotionEvent are
subclasses of MouseEvent.
Procedure
- Open the Features window for the event.
- From the Inherits: list,
select the event that is to serve as the base class.
- Click Apply or OK.