class EventNode extends Event
The EventNode
class provides facilities for representing simulation events
graphically. It extends the Event
class with animation capabilities.
Note: unique identification is mixed in via the Identifiable
trait in
the Event
superclass.
- Alphabetic
- By Inheritance
- EventNode
- Event
- Ordered
- Comparable
- Identifiable
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- def <(that: Event): Boolean
- Definition Classes
- Ordered
- def <=(that: Event): Boolean
- Definition Classes
- Ordered
- def >(that: Event): Boolean
- Definition Classes
- Ordered
- def >=(that: Event): Boolean
- Definition Classes
- Ordered
- val actTime: Double
The activation/occurrence time for the event
The activation/occurrence time for the event
- Definition Classes
- Event
- def cancel(): Unit
Cancel 'this' event.
Cancel 'this' event.
- Definition Classes
- Event
- def compare(ev: Event): Int
Compare the activation times of the two events ('ev' and 'this').
Compare the activation times of the two events ('ev' and 'this').
- ev
the other event
- Definition Classes
- Event → Ordered
- def compareTo(that: Event): Int
- Definition Classes
- Ordered → Comparable
- def displayLinks(links: Array[CausalLink]): Unit
Tell the animation engine to display this node's outgoing
CausalLink
's as edges. - val entity: Entity
- Definition Classes
- Event
- def equals(that: Any): Boolean
- Definition Classes
- Identifiable → AnyRef → Any
- final def flaw(method: String, message: String): Unit
- Definition Classes
- Error
- def hashCode(): Int
- Definition Classes
- Identifiable → AnyRef → Any
- val id: Int
- Definition Classes
- Identifiable
- def live: Boolean
Return whether this event is live (i.e., not cancelled).
Return whether this event is live (i.e., not cancelled).
- Definition Classes
- Event
- def me: String
- Definition Classes
- Identifiable
- def name: String
- Definition Classes
- Identifiable
- def name_=(name: String): Unit
- Definition Classes
- Identifiable
- def occur(): Unit
Execute this event where the event-logic is specified in the 'occur' method.
- val proto: EventNode
- Definition Classes
- Event
- def simType: String
- Definition Classes
- Identifiable
- def toString(): String
Convert the event to a string.
Convert the event to a string.
- Definition Classes
- Event → AnyRef → Any