ILOG JRules

ilog.rules.dt.model.event
Class DTModelPropertyChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
protected  boolean adjusting
           
protected  IlrDTElement element
           
protected  Object newValue
           
protected  Object oldValue
           
protected  Object property
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 IlrDTElement getElement()
           
 Object getNewValue()
           
 Object getOldValue()
           
 Object getProperty()
           
 boolean isAdjusting()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

adjusting

protected boolean adjusting

element

protected IlrDTElement element

property

protected Object property

oldValue

protected Object oldValue

newValue

protected Object newValue
Method Detail

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.

ILOG JRules