com.jidesoft.chart.event
Class PointSelectionEvent
java.lang.Object
java.util.EventObject
com.jidesoft.chart.event.ChartSelectionEvent
com.jidesoft.chart.event.PointSelectionEvent
- All Implemented Interfaces:
- Serializable
public class PointSelectionEvent
- extends ChartSelectionEvent
A zoom event where the zoom is on a particular point
- Author:
- Simon White (swhite@catalysoft.com)
- See Also:
- Serialized Form
PointSelectionEvent
public PointSelectionEvent(Object source,
Point point,
ZoomDirection direction)
PointSelectionEvent
public PointSelectionEvent(Object source,
Point point,
ZoomDirection direction,
double zoomFactor)
getLocation
public Point getLocation()
- Description copied from class:
ChartSelectionEvent
- Returns the location of the zoom
- Specified by:
getLocation
in class ChartSelectionEvent
- Returns:
- the zoom location
getDirection
public ZoomDirection getDirection()
- Description copied from class:
ChartSelectionEvent
- Returns a value to indicate whether the zoom was
IN
or OUT
.
- Specified by:
getDirection
in class ChartSelectionEvent
- Returns:
- the direction of zoom
setDirection
public void setDirection(ZoomDirection direction)
getZoomFactor
public Double getZoomFactor()
toString
public String toString()
- Overrides:
toString
in class EventObject