Interface myphysicslab.lab.view.DisplayObject

Provided By
All Extended Interfaces
All Known Implementations

An object that can be displayed in a myphysicslab.lab.view.SimView, often it is the visible representation of a myphysicslab.lab.model.SimObject.

Each DisplayObject has a default policy about when the SimObject it represents is dragable; this can be overridden via the #setDragable method.

Many DisplayObjects allow specifying a prototype DisplayObject. When a display property is undefined, then the property is fetched from the prototype. If it is also undefined on the prototype then a default value is used.

See the View section of myPhysicsLab Architecture for more about how DisplayObjects are used within an application.

Instance Methods