Creates a graph showing two GraphLines corresponding to two Simulations, where the two GraphLines are showing the same variables. There is a single SimView and DisplayGraph. Creates an AutoScale that ensures both GraphLines are visible. Creates controls to modify the graph. The menu choices are only connected to the first GraphLine. The second GraphLine should be externally synchronized to show the same variables as the first GraphLine.

Hierarchy (view full)

Implements

Constructors

Methods

  • Sets whether this Subject will broadcast events, typically used to temporarily disable broadcasting. Intended to be used in situations where a subclass overrides a method that broadcasts an event. This allows the subclass to prevent the superclass broadcasting that event, so that the subclass can broadcast the event when the method is completed.

    Parameters

    • value: boolean

      whether this Subject should broadcast events

    Returns boolean

    the previous value

  • Returns a minimal string representation of this object, usually giving just identity information like the class name and name of the object.

    For an object whose main purpose is to represent another Printable object, it is recommended to include the result of calling toStringShort on that other object. For example, calling toStringShort() on a DisplayShape might return something like this:

    DisplayShape{polygon:Polygon{'chain3'}}
    

    Returns string

    a minimal string representation of this object.

Generated using TypeDoc