Class OntologySolverTableau

    • Field Detail

      • BACKGROUND_COLOR

        public static final java.awt.Color BACKGROUND_COLOR
        The default background color. To change the background color, use a PtolemyPreferences.
    • Constructor Detail

      • OntologySolverTableau

        public OntologySolverTableau​(PtolemyEffigy container,
                                     java.lang.String name)
                              throws IllegalActionException,
                                     NameDuplicationException
        Create a new OntologySolver tableau with the specified container and name, with no default library.
        Parameters:
        container - The container.
        name - The name.
        Throws:
        IllegalActionException - If the model associated with the container effigy is not an OntologySolverModel.
        NameDuplicationException - If the container already contains an object with the specified name.
      • OntologySolverTableau

        public OntologySolverTableau​(PtolemyEffigy container,
                                     java.lang.String name,
                                     LibraryAttribute defaultLibrary)
                              throws IllegalActionException,
                                     NameDuplicationException
        Create a new OntologySolverModel tableau with the specified container, name, and default library.
        Parameters:
        container - The container.
        name - The name.
        defaultLibrary - The default library, or null to not specify one.
        Throws:
        IllegalActionException - If the model associated with the container effigy is not an OntologySolverModel.
        NameDuplicationException - If the container already contains an object with the specified name.
    • Method Detail

      • createGraphFrame

        public void createGraphFrame​(CompositeEntity model)
        Create the graph frame that displays the model associated with this tableau.
        Parameters:
        model - The Ptolemy II model to display in the graph frame.
      • createGraphFrame

        public void createGraphFrame​(CompositeEntity model,
                                     LibraryAttribute defaultLibrary)
        Create the graph frame that displays the model associated with this tableau together with the specified library.
        Parameters:
        model - The Ptolemy II model to display in the graph frame.
        defaultLibrary - The default library, or null to not specify one.