Package diva.graph

Examples of diva.graph.JGraph


        // display the graph.
        final GraphController gc = new BusContentionGraphController();

        final GraphPane gp = new GraphPane(gc, _graph);
        _jgraph = new JGraph(gp);
        _jgraph.repaint();

        // Adding it to the center so that it fills the containing panel.
        _divaPanel.add(_jgraph, BorderLayout.CENTER);
View Full Code Here


                controller.dispatch(new GraphViewEvent(this,
                        GraphViewEvent.NODE_DRAWN, newFigure));
            }
        };
        _graphPane = new GraphPane(controller, graphModel);
        _jgraph = new JGraph(_graphPane);
        _jgraph
                .setBorder(BorderFactory
                        .createEtchedBorder(EtchedBorder.RAISED));
        // The icon window is fixed size.
        _jgraph.setMinimumSize(new Dimension(_ICON_WINDOW_WIDTH,
View Full Code Here

TOP

Related Classes of diva.graph.JGraph

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.