net.sourceforge.nrl.parser.operators
Class PropertyAwareObject

java.lang.Object
  extended by net.sourceforge.nrl.parser.operators.PropertyAwareObject
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ImplementationDetail, Operator, Operators, Parameter

public abstract class PropertyAwareObject
extends Object
implements Serializable

Superclass of all model objects. Adds basic events to be fired on mdoel changes.

Since:
1.5.0
Author:
Christian Nentwich
See Also:
Serialized Form

Field Summary
protected  PropertyChangeSupport listeners
           
 
Constructor Summary
PropertyAwareObject()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
protected  void firePropertyChange(String prop, Object old, Object newValue)
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listeners

protected transient PropertyChangeSupport listeners
Constructor Detail

PropertyAwareObject

public PropertyAwareObject()
Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)

firePropertyChange

protected void firePropertyChange(String prop,
                                  Object old,
                                  Object newValue)


Copyright © 2006-2013. All Rights Reserved.