com.jidesoft.chart.event
Class ChartSelectionEvent
java.lang.Object
java.util.EventObject
com.jidesoft.chart.event.ChartSelectionEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DirectionZoomEvent, PointSelectionEvent, RectangleSelectionEvent
public abstract class ChartSelectionEvent
- extends EventObject
A common parent class for SelectionZoomEvents and PointZoomEvents
- See Also:
ZoomDirection
,
Serialized Form
ChartSelectionEvent
public ChartSelectionEvent(Object source)
- Create a ChartSelectionEvent
- Parameters:
source
- the source of the event
getDirection
public abstract ZoomDirection getDirection()
- Returns a value to indicate whether the zoom was
IN
or OUT
.
- Returns:
- the direction of zoom
getLocation
public abstract Object getLocation()
- Returns the location of the zoom
- Returns:
- the zoom location