Class BasicGraphPane

  • All Implemented Interfaces:
    CanvasComponent, EventAcceptor

    public class BasicGraphPane
    extends GraphPane
    A simple graph pane that has an associated Ptolemy model and handles getting the background color from the preferences.
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (eal)
    Pt.ProposedRating:
    Yellow (eal)
    • Constructor Detail

      • BasicGraphPane

        public BasicGraphPane​(GraphController controller,
                              GraphModel model,
                              NamedObj entity)
        Create a pane that updates the background color on each repaint if there is a preference attribute.
        Parameters:
        controller - The controller.
        model - The graph model.
        entity - The Ptolemy II model being displayed.