dasher
Class CEvent

java.lang.Object
  extended by dasher.CEvent
Direct Known Subclasses:
CControlEvent, CEditContextEvent, CEditEvent, CLockEvent, CMessageEvent, CParameterNotificationEvent, CStartEvent, CStopEvent

public class CEvent
extends java.lang.Object

Base class representing a generic Event.

Generally this should not be instantiated and dispatched; rather one should use a specialisation of this class with a non-zero m_iEventType. As this will appear to have type 0, most components will ignore it.

Currently assigned types:

1: Parameter change (CParameterNotificationEvent)

2: Edit event (CEditEvent)

3: Edit context request (CEditContextEvent)

4: Dasher Starting notification (CStartEvent)

5: Dasher Stopping notification (CStopEvent)

6: Control Mode related (CControlEvent)

7: Lock event (locks/unlocks Dasher and may state progress of the current operation) (CLockEvent)

8: Message event -- typically interpreted by showing the user a message box (CMessageEvent)


Field Summary
 int m_iEventType
          Event type.
 
Constructor Summary
CEvent()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_iEventType

public int m_iEventType
Event type. This is set by the constructor of various superclasses of Event.

Constructor Detail

CEvent

public CEvent()