com.jidesoft.chart.event
Class PanEvent
java.lang.Object
java.util.EventObject
com.jidesoft.chart.event.PanEvent
- All Implemented Interfaces:
- Serializable
public class PanEvent
- extends EventObject
An EventObject
generated while panning.
- See Also:
- Serialized Form
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 |
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 eventxOffset
- the x offset of the pan eventyOffset
- the y offset of the pan event
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