JIDE 3.5.15

com.jidesoft.chart.event
Class RectangleSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jidesoft.chart.event.ChartSelectionEvent
          extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RectangleSelectionEvent(Object source, Rectangle selection)
           
 
Method Summary
 ZoomDirection getDirection()
          Returns a value to indicate whether the zoom was IN or OUT.
 Rectangle 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

RectangleSelectionEvent

public RectangleSelectionEvent(Object source,
                               Rectangle selection)
Method Detail

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

JIDE 3.5.15