|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.actor.TypeEvent
A TypeEvent represents a type change on a Typeable object. This event is generated by the Typeable whose type is changed, and is passed to the type change listeners to notify them about the change.
TypeListener
| Green (cxh) |
| Green (yuhong) |
| Constructor Summary | |
TypeEvent(Typeable typeable,
Type oldType,
Type newType)
Construct a TypeEvent, with the specified Typeable and the old and new types. |
|
| Method Summary | |
Type |
getNewType()
Return the new type. |
Type |
getOldType()
Return the old type. |
NamedObj |
getSource()
Return the Typeable whose type is changed. |
java.lang.String |
toString()
Return a string description for this type change. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TypeEvent(Typeable typeable,
Type oldType,
Type newType)
typeable - The Typeable whose type is changed.oldType - The type of the Typeable before the change.newType - The type of the Typeable after the change.| Method Detail |
public Type getNewType()
public Type getOldType()
public NamedObj getSource()
getSource in interface DebugEventpublic java.lang.String toString()
toString in interface DebugEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||