Package bluej.extensions2.event
Class ApplicationEvent
- java.lang.Object
-
- bluej.extensions2.event.ApplicationEvent
-
- All Implemented Interfaces:
ExtensionEvent
public class ApplicationEvent extends java.lang.Object implements ExtensionEvent
This class encapsulates BlueJ application events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApplicationEvent.EventType
Types of application events.
-
Constructor Summary
Constructors Constructor Description ApplicationEvent(ApplicationEvent.EventType eventType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationEvent.EventType
getEventType()
Gets the event type.java.lang.String
toString()
Returns a meaningful description of this event.
-
-
-
Constructor Detail
-
ApplicationEvent
public ApplicationEvent(ApplicationEvent.EventType eventType)
- Parameters:
eventType
- one of theApplicationEvent.EventType
values for this ApplicationEvent.
-
-
Method Detail
-
getEventType
public ApplicationEvent.EventType getEventType()
Gets the event type.- Returns:
- The
ApplicationEvent.EventType
value associated with this ApplicationEvent.
-
toString
public java.lang.String toString()
Returns a meaningful description of this event.- Overrides:
toString
in classjava.lang.Object
-
-