com.ijchart.xychart.event
Class ChartShapeChangeEvent

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

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

Title: IJChart

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

A change event that encapsulates information about a change to a IChartShape

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
ChartShapeChangeEvent(java.lang.Object source, IChartShape chartShape)
           Constructs a new ChartShape changed event.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 IChartShape getChartShape()
           Returns the IChartShape that generated the event.
 int hashCode()
          Returns a hash code value for the object.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChartShapeChangeEvent

public ChartShapeChangeEvent(java.lang.Object source,
                             IChartShape chartShape)
Constructs a new ChartShape changed event.

Parameters:
source - Object The source of the event.
chartShape - IChartShape The IChartShape that generated the event (null permitted).
Method Detail

getChartShape

public IChartShape getChartShape()
Returns the IChartShape that generated the event. Note that the IChartShape maybe null.

Returns:
The IChartShape (possibly null).

hashCode

public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class java.lang.Object
Returns:
int

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object
Returns:
boolean