com.jidesoft.chart.event
Class RectangleSelectionEvent
java.lang.Object
java.util.EventObject
com.jidesoft.chart.event.ChartSelectionEvent
com.jidesoft.chart.event.RectangleSelectionEvent
- All Implemented Interfaces:
- Serializable
public class RectangleSelectionEvent
- extends ChartSelectionEvent
A zoom event where the zoom is on a rectangular selection.
- Author:
- Simon White (swhite@catalysoft.com)
- See Also:
- Serialized Form
RectangleSelectionEvent
public RectangleSelectionEvent(Object source,
Rectangle selection)
getLocation
public Rectangle 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