ilog.rules.dt.model.event

Class DTModelPropertyChangeEvent

  • java.lang.Object
    • java.util.EventObject
      • ilog.rules.dt.model.event.DTModelPropertyChangeEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class DTModelPropertyChangeEvent
    extends java.util.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

      Fields 
      Modifier and Type Field and Description
      protected boolean adjusting 
      protected IlrDTElement element 
      protected java.lang.Object newValue 
      protected java.lang.Object oldValue 
      protected java.lang.Object property 
      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      IlrDTElement getElement() 
      java.lang.Object getNewValue() 
      java.lang.Object getOldValue() 
      java.lang.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
      • property

        protected java.lang.Object property
      • oldValue

        protected java.lang.Object oldValue
      • newValue

        protected java.lang.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 java.lang.Object getProperty()
        Returns:
        The property key subject of change, if the returned value is null all properties may have changed.
      • getOldValue

        public java.lang.Object getOldValue()
        Returns:
        The previous value of the property. Irrelevant if getProperty() returns null.
      • getNewValue

        public java.lang.Object getNewValue()
        Returns:
        The new value of the property. Irrelevant if getProperty() returns null.

© Copyright IBM Corp. 1987, 2017