ptolemy.actor
Interface TypeListener
- public interface TypeListener
An interface implemented by objects that are interested in being kept
informed about type changes in a Typeable object.
If the Typeable object is a TypedIOPort, the listeners register their
interest through the addTypeListener() method, and are informed of the
changes by receiving instances of TypeEvent in the typeChanged() method.
- Since:
- Ptolemy II 0.2
- Version:
- $Id: TypeListener.java,v 1.19 2004/04/13 02:58:15 cxh Exp $
- Author:
- Yuhong Xiong
- See Also:
TypeEvent,
TypedIOPort.addTypeListener(ptolemy.actor.TypeListener),
TypedIOPort.removeTypeListener(ptolemy.actor.TypeListener)
- Accepted Rating:
- Proposed Rating:
|
Method Summary |
void |
typeChanged(TypeEvent event)
React to the fact that the type of a Typeable is changed. |
typeChanged
public void typeChanged(TypeEvent event)
- React to the fact that the type of a Typeable is changed.
- Parameters:
event - The type change event.