Dresden OCL Toolkit

tudresden.ocl.gui.events
Class ConstraintChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bytudresden.ocl.gui.events.ConstraintChangeEvent
All Implemented Interfaces:
Serializable

public class ConstraintChangeEvent
extends EventObject

Author:
sz9
See Also:
Serialized Form

Field Summary
private  ConstraintRepresentation m_crNew
           
private  ConstraintRepresentation m_crOld
           
private  int m_nIdx
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConstraintChangeEvent(Object source, int nIdx, ConstraintRepresentation crOld, ConstraintRepresentation crNew)
          Creates new ConstraintChangeEvent
 
Method Summary
 int getIndex()
           
 ConstraintRepresentation getNew()
           
 ConstraintRepresentation getOld()
           
 
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

m_nIdx

private int m_nIdx

m_crOld

private ConstraintRepresentation m_crOld

m_crNew

private ConstraintRepresentation m_crNew
Constructor Detail

ConstraintChangeEvent

public ConstraintChangeEvent(Object source,
                             int nIdx,
                             ConstraintRepresentation crOld,
                             ConstraintRepresentation crNew)
Creates new ConstraintChangeEvent

Method Detail

getIndex

public int getIndex()

getOld

public ConstraintRepresentation getOld()

getNew

public ConstraintRepresentation getNew()

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.