Interface PetriNetDisplayer

  • All Known Implementing Classes:
    PetriNetDisplay, PetriNetRecorder

    public interface PetriNetDisplayer
    Display the evolution of a Petri net after execution.

    The PetriNetDirector searches its container for actors that implement this interface and then calls the openDisplay() and setText() methods.

    A class that implements this method could display the the value of the setText() method's argument.

    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Christopher Brooks, based on PetriNetDisplay by Zach Ezzell.
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)
    • Method Detail

      • setText

        void setText​(java.lang.String text)
              throws IllegalActionException
        Set the text for the display.
        Parameters:
        text - The text to be shown in the display.
        Throws:
        IllegalActionException - If there is a problem reading or writing a Ptolemy object.