org.argouml.application.events
Class ArgoEvent
java.lang.Object
java.util.EventObject
org.argouml.application.events.ArgoEvent
- All Implemented Interfaces:
- ArgoEventTypes, Serializable
- Direct Known Subclasses:
- ArgoGeneratorEvent, ArgoModuleEvent, ArgoNotationEvent
- public abstract class ArgoEvent
- extends EventObject
- implements ArgoEventTypes
The root class from which all event state objects within Argo are derived.
All ArgoEvents are constructed with a reference to the object,
the "source", that is logically deemed to be the object
upon which the Event in question initially occurred upon.
- See Also:
- Serialized Form
| Fields inherited from interface org.argouml.application.events.ArgoEventTypes |
ANY_EVENT, ANY_GENERATOR_EVENT, ANY_MODULE_EVENT, ANY_NOTATION_EVENT, ARGO_EVENT_END, GENERATOR_ADDED, GENERATOR_CHANGED, GENERATOR_REMOVED, LAST_GENERATOR_EVENT, LAST_MODULE_EVENT, LAST_NOTATION_EVENT, MODULE_DISABLED, MODULE_ENABLED, MODULE_LOADED, MODULE_UNLOADED, NOTATION_ADDED, NOTATION_CHANGED, NOTATION_PROVIDER_ADDED, NOTATION_PROVIDER_REMOVED, NOTATION_REMOVED |
ArgoEvent
public ArgoEvent(int eT,
Object src)
- The constructor.
- Parameters:
eT - the event typesrc - the sourc, that triggered the event
getEventType
public int getEventType()
- Returns:
- the event type
getEventStartRange
public int getEventStartRange()
- Indicates the start of the range for any events.
- Returns:
- the first id reserved for events.
getEventEndRange
public int getEventEndRange()
- Indicates the end of the range for notation events.
- Returns:
- the last id reserved for events.
toString
public String toString()
- Provides formatted description of the event.
- Returns:
- the formatted information.