Package ptolemy.actor
Class FiringEvent.FiringEventType
- java.lang.Object
-
- ptolemy.actor.FiringEvent.FiringEventType
-
- Enclosing class:
- FiringEvent
public static class FiringEvent.FiringEventType extends java.lang.Object
A type of firing event that can be published. This class implements a type-safe enumeration. The constructor is private so that the only admissible event types are the static members of the FiringEvent class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Return the string name of this event type.java.lang.String
getTypeName()
Return the name of this event type.boolean
isStart()
Return true if this event corresponds with a start event.java.lang.String
toString()
Return a string description of this event type.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Return the string name of this event type.- Returns:
- the string name of this event type.
-
toString
public java.lang.String toString()
Return a string description of this event type.- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string description of this event type.
-
isStart
public boolean isStart()
Return true if this event corresponds with a start event.- Returns:
- true if this event corresponds with a start event.
-
getTypeName
public java.lang.String getTypeName()
Return the name of this event type.- Returns:
- the name of this event type.
-
-