Package-level declarations

Types

Link copied to clipboard

A QueueListenerIfc that emits an AnimationEvent.QueueLengthChanged whenever a queue's length changes. Registering one on a queue (queue.addQueueListener(QueueAnimationEmitter())) is the non-intrusive way to animate that queue — the queue itself is unchanged.

Link copied to clipboard

An AllocationListenerIfc that animates a Resource: on each allocation it emits an AnimationEvent.SeizeAllocated (which entity got how many units), on each deallocation an AnimationEvent.Released, and after either it emits an AnimationEvent.ResourceStateChanged reporting the resource's new state name, busy-unit count, and capacity. Register one with resource.addAllocationListener(ResourceAnimationEmitter(resource)); the resource is unchanged.

Link copied to clipboard

A ModelElementObserver that emits an AnimationEvent.ResponseObserved each time a Response (including its time-weighted subtype TWResponse) or a Counter is observed. Setting a response's or counter's value fires a Status.UPDATE notification, which routes here as update.