ilog.rules.dt.model.event
Class DTModelPropertyChangeEvent
java.lang.Object
java.util.EventObject
ilog.rules.dt.model.event.DTModelPropertyChangeEvent
- All Implemented Interfaces:
- Serializable
public class DTModelPropertyChangeEvent
- extends EventObject
Encapsulates information describing a property changes to an IlrDTModel, and
used to notify DT model property listeners of the change.
- See Also:
DTModelListener,
Serialized Form
adjusting
protected boolean adjusting
element
protected IlrDTElement element
property
protected Object property
oldValue
protected Object oldValue
newValue
protected Object newValue
isAdjusting
public boolean isAdjusting()
- Returns:
- True if this event is part of an adjustment process, false if this event is isolated.
getElement
public IlrDTElement getElement()
- Returns:
- The element subject of the property change.
getProperty
public Object getProperty()
- Returns:
- The property key subject of change, if the returned value is
null all properties
may have changed.
getOldValue
public Object getOldValue()
- Returns:
- The previous value of the property. Irrelevant if
getProperty() returns null.
getNewValue
public Object getNewValue()
- Returns:
- The new value of the property. Irrelevant if
getProperty() returns null.