com.jidesoft.chart.event
Class DirectionZoomEvent
java.lang.Object
java.util.EventObject
com.jidesoft.chart.event.ChartSelectionEvent
com.jidesoft.chart.event.DirectionZoomEvent
- All Implemented Interfaces:
- Serializable
public class DirectionZoomEvent
- extends ChartSelectionEvent
A zoom event where the zoom specifies only the direction and is not on a particular point
- See Also:
- Serialized Form
DirectionZoomEvent
public DirectionZoomEvent(Object source,
ZoomDirection direction)
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)
getLocation
public Object getLocation()
- Description copied from class:
ChartSelectionEvent
- Returns the location of the zoom
- Specified by:
getLocation
in class ChartSelectionEvent
- Returns:
- the zoom location
toString
public String toString()
- Overrides:
toString
in class EventObject