Package org.moeaframework.util.mvc
Class ControllerEvent
java.lang.Object
java.util.EventObject
org.moeaframework.util.mvc.ControllerEvent
- All Implemented Interfaces:
Serializable
An event fired by a controller. Use the event type to identify different types of changes that are occurring,
limiting the scope of changes to the UI.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionControllerEvent
(Controller controller, String eventType) Constructs a new controller event of the specified type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of this event.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ControllerEvent
Constructs a new controller event of the specified type.- Parameters:
controller
- the controller from which this event originateseventType
- the type of this event
-
-
Method Details
-
getEventType
Returns the type of this event.- Returns:
- the type of this event.
-
getSource
- Overrides:
getSource
in classEventObject
-