Package org.jfree.chart.event
Class ChartChangeEventType
java.lang.Object
org.jfree.chart.event.ChartChangeEventType
- All Implemented Interfaces:
Serializable
Defines tokens used to indicate an event type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChartChangeEventTypeDATASET_UPDATED.static final ChartChangeEventTypeGENERAL.private final StringThe name.static final ChartChangeEventTypeNEW_DATASET.private static final longFor serialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif this object is equal to the specified object, andfalseotherwise.inthashCode()Returns a hash code value for the object.private ObjectEnsures that serialization returns the unique instances.toString()Returns a string representing the object.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization.- See Also:
-
GENERAL
GENERAL. -
NEW_DATASET
NEW_DATASET. -
DATASET_UPDATED
DATASET_UPDATED. -
name
The name.
-
-
Constructor Details
-
ChartChangeEventType
Private constructor.- Parameters:
name- the name.
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrueif this object is equal to the specified object, andfalseotherwise. -
hashCode
public int hashCode()Returns a hash code value for the object. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException- if there is a problem.
-