com.ijchart.xychart.event
Class ChartMouseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ijchart.xychart.event.ChartMouseEvent
All Implemented Interfaces:
java.io.Serializable

public class ChartMouseEvent
extends java.util.EventObject
implements java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

A mouse event for a chart that is displayed in a ChartPanel.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ChartMouseEvent(IJChart chart, java.awt.event.MouseEvent trigger, IChartShape shape)
           The constructor.
 
Method Summary
 IJChart getChart()
           Returns the chart object.
 IChartShape getShape()
           Returns the chart shape.
 java.awt.event.MouseEvent getTrigger()
           Returns the mouse 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

ChartMouseEvent

public ChartMouseEvent(IJChart chart,
                       java.awt.event.MouseEvent trigger,
                       IChartShape shape)
The constructor.

Parameters:
chart - IJChart The chart object.
trigger - MouseEvent The mouse event.
shape - IChartShape The chart shape.
Method Detail

getChart

public IJChart getChart()
Returns the chart object.

Returns:
IJChart

getTrigger

public java.awt.event.MouseEvent getTrigger()
Returns the mouse event.

Returns:
MouseEvent The mouse event.

getShape

public IChartShape getShape()
Returns the chart shape.

Returns:
IChartShape The chart shape.