Class PythonShellTableau.Factory

    • Method Detail

      • createTableau

        public Tableau createTableau​(Effigy effigy)
                              throws java.lang.Exception
        Create a new instance of PythonShellTableau in the specified effigy. It is the responsibility of callers of this method to check the return value and call show().
        Overrides:
        createTableau in class TableauFactory
        Parameters:
        effigy - The model effigy.
        Returns:
        A new control panel tableau if the effigy is a PtolemyEffigy, or null otherwise.
        Throws:
        java.lang.Exception - If the factory should be able to create a tableau for the effigy, but something goes wrong.