JIDE 3.5.15

com.jidesoft.chart.event
Class DirectionZoomEvent

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

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

Constructor Detail

DirectionZoomEvent

public DirectionZoomEvent(Object source,
                          ZoomDirection direction)
Method Detail

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

JIDE 3.5.15