JIDE 3.5.15

com.jidesoft.chart.event
Class ChartSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChartSelectionEvent(Object source)
          Create a ChartSelectionEvent
 
Method Summary
abstract  ZoomDirection getDirection()
          Returns a value to indicate whether the zoom was IN or OUT.
abstract  Object getLocation()
          Returns the location of the zoom
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChartSelectionEvent

public ChartSelectionEvent(Object source)
Create a ChartSelectionEvent

Parameters:
source - the source of the event
Method Detail

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

JIDE 3.5.15