Package org.eclipse.draw2d
Class ChangeEvent
java.lang.Object
java.util.EventObject
org.eclipse.draw2d.ChangeEvent
- All Implemented Interfaces:
- Serializable
An event for property changes. Includes the source of the event as well as
 the name of the property that has changed.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionChangeEvent(Object source) Constructs a new ChangeEvent with the given object as the source of the event.ChangeEvent(Object source, String property) Constructs a new ChangeEvent with the given source object and property name.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the name of the property that has changed.protected voidsetPropertyName(String string) Sets the name of the property that has changed.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
ChangeEventConstructs a new ChangeEvent with the given object as the source of the event.- Parameters:
- source- The source of the event
 
- 
ChangeEventConstructs a new ChangeEvent with the given source object and property name.- Parameters:
- source- The source of the event
- property- The property name
 
 
- 
- 
Method Details- 
getPropertyNameReturns the name of the property that has changed.- Returns:
- String the name of the property that has changed
 
- 
setPropertyNameSets the name of the property that has changed.- Parameters:
- string- The property name
 
 
-