Package de.gsi.chart.viewer.event
Class WindowUpdateEvent
- java.lang.Object
-
- java.util.EventObject
-
- de.gsi.dataset.event.UpdateEvent
-
- de.gsi.chart.viewer.event.WindowUpdateEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
WindowClosedEvent
,WindowClosingEvent
,WindowDetachedEvent
,WindowDetachingEvent
,WindowMaximisedEvent
,WindowMaximisingEvent
,WindowMinimisedEvent
,WindowMinimisingEvent
,WindowRestoredEvent
,WindowRestoringEvent
public class WindowUpdateEvent extends de.gsi.dataset.event.UpdateEvent
Event emitted when a DataViewWindow state changes- Author:
- rstein
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WindowUpdateEvent.Type
-
Constructor Summary
Constructors Constructor Description WindowUpdateEvent(de.gsi.dataset.event.EventSource source)
generates new update eventWindowUpdateEvent(de.gsi.dataset.event.EventSource source, WindowUpdateEvent.Type type)
generates new update eventWindowUpdateEvent(de.gsi.dataset.event.EventSource source, java.lang.String msg, WindowUpdateEvent.Type type)
generates new update eventWindowUpdateEvent(de.gsi.dataset.event.EventSource source, java.lang.String msg, java.lang.Object payload, WindowUpdateEvent.Type type)
generates new update event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowUpdateEvent.Type
getType()
-
-
-
Constructor Detail
-
WindowUpdateEvent
public WindowUpdateEvent(de.gsi.dataset.event.EventSource source)
generates new update event- Parameters:
source
- the class issuing the event
-
WindowUpdateEvent
public WindowUpdateEvent(de.gsi.dataset.event.EventSource source, java.lang.String msg, java.lang.Object payload, WindowUpdateEvent.Type type)
generates new update event- Parameters:
source
- the class issuing the eventmsg
- a customised message to be passed along (e.g. for debugging)payload
- a customised user pay-load to be passed to the listenertype
- WindowUpdateEvent event type
-
WindowUpdateEvent
public WindowUpdateEvent(de.gsi.dataset.event.EventSource source, java.lang.String msg, WindowUpdateEvent.Type type)
generates new update event- Parameters:
source
- the class issuing the eventmsg
- a customised message to be passed along (e.g. for debugging)type
- WindowUpdateEvent event type
-
WindowUpdateEvent
public WindowUpdateEvent(de.gsi.dataset.event.EventSource source, WindowUpdateEvent.Type type)
generates new update event- Parameters:
source
- the class issuing the eventtype
- WindowUpdateEvent event type
-
-
Method Detail
-
getType
public WindowUpdateEvent.Type getType()
-
-