An event to plot the received arguments as points in a timed plotter. It
implicitly contains a TimedPlotter in a Configurer, so that it
can reuse the function provided by the timed plotter and the timed plotter can
also be configured with the configuration for this event itself. This event can
receive 0 to more arguments. Each argument corresponds to a distinct data set
displayed in the plotter (usually in a unique color). When this event is fired,
for each arguments that can be converted into double tokens, it plots the
values of those arguments in the plotter with the current model time on the
x-axis.

Constructor Detail

Plot

Construct an event with the given name contained by the specified
composite entity. The container argument must not be null, or a
NullPointerException will be thrown. This event will use the
workspace of the container for synchronization and version counts.
If the name argument is null, then the name is set to the empty
string.
Increment the version of the workspace.
This constructor write-synchronizes on the workspace.

configure

Configure the object with data from the specified input source
(a URL) and/or textual data. The object should interpret the
source first, if it is specified, followed by the literal text,
if that is specified. The new configuration should usually
override any old configuration wherever possible, in order to
ensure that the current state can be successfully retrieved.

This method is defined to throw a very general exception to allow
classes that implement the interface to use whatever exceptions
are appropriate.

fire

Process this event with the given arguments. The number of arguments
provided must be equal to the number of formal parameters defined for
this event, and their types must match. The actions of this event are
executed.

A refiring data structure that contains a non-negative double
number if refire() should be called after that amount of model time, or
null if refire() need not be called.

Throws:

IllegalActionException - If the number of the arguments or
their types do not match, the actions cannot be executed, or any
expression (such as guards and arguments to the next events) cannot be
evaluated.

The string representation of the input URL, or null if the
no source has been used to configure this object, or null if no
external source need be used to configure this object.

getConfigureText

public java.lang.String getConfigureText()

Return the text string that represents the current configuration of
this object. Note that any configuration that was previously
specified using the source attribute need not be represented here
as well.

_exportMoMLContents

Write a MoML description of the contents of this object, which
in this class are the attributes plus the ports. This method is called
by exportMoML(). Each description is indented according to the
specified depth and terminated with a newline character.