JIDE 3.5.15

com.jidesoft.chart.event
Class PanEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.jidesoft.chart.event.PanEvent
All Implemented Interfaces:
Serializable

public class PanEvent
extends EventObject

An EventObject generated while panning.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PanEvent(Object source)
          Create a PanEvent object using the supplied parameter as the source of the event
PanEvent(Object source, int xOffset, int yOffset)
          Create a PanEvent object using the supplied object parameter as the source of the event and also noting the size of the pan as x and y pixels offsets
 
Method Summary
 Integer getXOffset()
          Returns the x offset of the pan event
 Integer getYOffset()
          Returns the y offset of the pan event
 
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

PanEvent

public PanEvent(Object source)
Create a PanEvent object using the supplied parameter as the source of the event

Parameters:
source - the source of the event

PanEvent

public PanEvent(Object source,
                int xOffset,
                int yOffset)
Create a PanEvent object using the supplied object parameter as the source of the event and also noting the size of the pan as x and y pixels offsets

Parameters:
source - the source of the event
xOffset - the x offset of the pan event
yOffset - the y offset of the pan event
Method Detail

getXOffset

public Integer getXOffset()
Returns the x offset of the pan event

Returns:
the x offset, or null if it was not set

getYOffset

public Integer getYOffset()
Returns the y offset of the pan event

Returns:
the y offset, or null if it was not set

JIDE 3.5.15