ptolemy.actor
Interface TypeListener

All Known Implementing Classes:
TypeAnimatorApplet.PortTypeListener

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 57040 2010-01-27 20:52:32Z cxh $
Author:
Yuhong Xiong
See Also:
TypeEvent, TypedIOPort.addTypeListener(ptolemy.actor.TypeListener), TypedIOPort.removeTypeListener(ptolemy.actor.TypeListener)
Accepted Rating:
Green (cxh)
Proposed Rating:
Green (yuhong)

Method Summary
 void typeChanged(TypeEvent event)
          React to the fact that the type of a Typeable is changed.
 

Method Detail

typeChanged

void typeChanged(TypeEvent event)
React to the fact that the type of a Typeable is changed.

Parameters:
event - The type change event.