Class ActorGraphTableau.Factory

    • Method Detail

      • createTableau

        public Tableau createTableau​(Effigy effigy)
                              throws java.lang.Exception
        Create a tableau in the default workspace with no name for the given Effigy. The tableau will created with a new unique name in the given model effigy. If this factory cannot create a tableau for the given effigy (perhaps because the effigy is not of the appropriate subclass) then return null. 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 ActorGraphTableau, if the effigy is a PtolemyEffigy, or null otherwise.
        Throws:
        java.lang.Exception - If an exception occurs when creating the tableau.