Package adams.gui.event
Class PlotPanelZoomEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.gui.event.PlotPanelZoomEvent
-
- All Implemented Interfaces:
Serializable
public class PlotPanelZoomEvent extends EventObject
Event that gets sent in case of a zoom event in thePlotPanel
.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlotPanelZoomEvent.ZoomEventType
The type of zoom event.
-
Field Summary
Fields Modifier and Type Field Description protected PlotPanelZoomEvent.ZoomEventType
m_EventType
the event type.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PlotPanelZoomEvent(PlotPanel source, PlotPanelZoomEvent.ZoomEventType type)
Initializes the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlotPanelZoomEvent.ZoomEventType
getEventType()
Returns the event type.PlotPanel
getPlotPanel()
Returns the plot panel that triggered the event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
m_EventType
protected PlotPanelZoomEvent.ZoomEventType m_EventType
the event type.
-
-
Constructor Detail
-
PlotPanelZoomEvent
public PlotPanelZoomEvent(PlotPanel source, PlotPanelZoomEvent.ZoomEventType type)
Initializes the event.- Parameters:
source
- the source of the eventtype
- the event type
-
-
Method Detail
-
getPlotPanel
public PlotPanel getPlotPanel()
Returns the plot panel that triggered the event.- Returns:
- the plot panel
-
getEventType
public PlotPanelZoomEvent.ZoomEventType getEventType()
Returns the event type.- Returns:
- the type
-
-