Package org.onosproject.ui.model.topo
Class UiModelEvent
- java.lang.Object
-
- org.onosproject.event.AbstractEvent<UiModelEvent.Type,UiElement>
-
- org.onosproject.ui.model.topo.UiModelEvent
-
- All Implemented Interfaces:
Event<UiModelEvent.Type,UiElement>
public class UiModelEvent extends AbstractEvent<UiModelEvent.Type,UiElement>
UI Topology model events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UiModelEvent.Type
Enumeration of event types.
-
Constructor Summary
Constructors Constructor Description UiModelEvent(UiModelEvent.Type type, UiElement subject, com.fasterxml.jackson.databind.node.ObjectNode data, java.lang.String memo)
Creates a UI model event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
data()
Returns the data of the subject.java.lang.String
memo()
Returns the memo.-
Methods inherited from class org.onosproject.event.AbstractEvent
subject, time, toString, type
-
-
-
-
Constructor Detail
-
UiModelEvent
public UiModelEvent(UiModelEvent.Type type, UiElement subject, com.fasterxml.jackson.databind.node.ObjectNode data, java.lang.String memo)
Creates a UI model event. Note that the memo field can be used to pass a hint to the listener about the event.- Parameters:
type
- event typesubject
- subject of the eventdata
- data containing details of the subjectmemo
- a note about the event
-
-