search

Class myphysicslab.lab.util.GenericEvent

Provided By
All Implemented Interfaces

A simple implementation of a SubjectEvent, represents an event that has occurred in a Subject.

new GenericEvent( subject, name, value )

Parameters
subjectmyphysicslab.lab.util.Subject

the Subject where the event occurred

namestring

the name of this event

value*

an optional value associated with this event

Instance Methods