Package ptolemy.actor
Interface TypeListener
-
- All Known Implementing Classes:
TestTypeListener
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$
- Author:
- Yuhong Xiong
- See Also:
TypeEvent
,TypedIOPort.addTypeListener(ptolemy.actor.TypeListener)
,TypedIOPort.removeTypeListener(ptolemy.actor.TypeListener)
- Pt.AcceptedRating:
- Green (cxh)
- Pt.ProposedRating:
- Green (yuhong)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-