Package y.view

Examples of y.view.Graph2DView


     * Initialize the graph panel.
     */
    public void initGraphPanel() {
        fGraphLoader.initGraph(fDependencyGraph);

        fGraphView = new Graph2DView(fDependencyGraph);
        fGraphView.setAntialiasedPainting(true);
        fDependencyGraph.registerView(fGraphView);

        initGraphLayout();
        registerViewModes();
View Full Code Here


  protected JFrame createFrame() {
    JFrame frame = super.createFrame();

    Graph2D graph2D = new Graph2DPresenter().present( rootNode );

    Graph2DView graph2DView = new Graph2DView( graph2D );
    graph2DView.addViewMode( new NavigationMode() );
    graph2DView.fitContent();
    frame.getContentPane().add( graph2DView );
    return frame;
  }
View Full Code Here

TOP

Related Classes of y.view.Graph2DView

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.