|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.eclipse.core.databinding.property.SimplePropertyEvent
public final class SimplePropertyEvent
Event object events in the properties API
| Field Summary | |
|---|---|
static int |
CHANGE
Event type constant indicating that the property changed |
IDiff |
diff
If event == CHANGE, a diff object describing the change in state, or null for an unknown change. |
IProperty |
property
The property on which the event took place |
static int |
STALE
Event type constant indicating that the property became stale |
int |
type
The type of property event that occured |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SimplePropertyEvent(int type,
java.lang.Object source,
IProperty property,
IDiff diff)
Constructs a PropertyChangeEvent with the given attributes |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CHANGE
public static final int STALE
public final int type
public final IProperty property
public final IDiff diff
| Constructor Detail |
|---|
public SimplePropertyEvent(int type,
java.lang.Object source,
IProperty property,
IDiff diff)
type - the property typesource - the property sourceproperty - the property that changed on the sourcediff - a diff describing the change in state, or null if the change
is unknown or not applicable.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.