|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.support.PropertyChangeMessage
public class PropertyChangeMessage
This class defines a message that can be sent on the Bus to define a
property change in a bean.
| Constructor Summary | |
|---|---|
PropertyChangeMessage(Object bean,
String propertyName,
Object oldValue,
Object newValue)
Constructor. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the update |
Object |
getBean()
Returns the bean |
Object |
getOldPropertyValue()
Returns the previous value of the property |
String |
getPropertyName()
Returns the path to the changed property |
Object |
getPropertyValue()
Returns the new value for the property |
boolean |
sameOrigin(Object source)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyChangeMessage(Object bean,
String propertyName,
Object oldValue,
Object newValue)
bean - Bean whose property has changedpropertyName - Path to the propertyoldValue - Old property valuenewValue - New value for the property| Method Detail |
|---|
public void cancel()
public Object getBean()
public Object getOldPropertyValue()
public String getPropertyName()
public Object getPropertyValue()
public String toString()
toString in class Objectpublic boolean sameOrigin(Object source)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||