Class PlotEffigy

    • Constructor Detail

      • PlotEffigy

        public PlotEffigy​(Workspace workspace)
        Create a new effigy in the specified workspace with an empty string for its name.
        Parameters:
        workspace - The workspace for this effigy.
    • Method Detail

      • setPlot

        public void setPlot​(PlotBoxInterface plot)
        Set the plot that this is an effigy of.
        Parameters:
        plot - The plot.
        See Also:
        getPlot()
      • writeFile

        public void writeFile​(java.io.File file)
                       throws java.io.IOException
        Write the text of the plot to the specified file. If no plot has been specified, then no write occurs.
        Overrides:
        writeFile in class PtolemyEffigy
        Parameters:
        file - The file to write to.
        Throws:
        java.io.IOException - If the write fails.