public interface PetriNetDisplayer
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.
Red (cxh) |
Red (cxh) |
Modifier and Type | Method and Description |
---|---|
void |
openDisplay()
Ensure that the text is placed in the textArea.
|
void |
setText(java.lang.String text)
Set the text for the display.
|
void openDisplay() throws IllegalActionException
IllegalActionException
- If _openWindow() in
the base class throws it.void setText(java.lang.String text) throws IllegalActionException
text
- The text to be shown in the display.IllegalActionException
- If there is a problem
reading or writing a Ptolemy object.