Examples of fitContent()


Examples of com.intellij.openapi.graph.view.Graph2DView.fitContent()

    super(graph);
  }

  public void actionPerformed(AnActionEvent e, Graph2D graph) {
    final Graph2DView view = getGraph2DView(graph);
    view.fitContent();
  }

  public void update(AnActionEvent e, Graph2D graph) {
    e.getPresentation().setEnabled(true);
    e.getPresentation().setIcon(IconLoader.getIcon("/graph/fitContent.png"));
View Full Code Here

Examples of org.cytoscape.view.model.CyNetworkView.fitContent()

          window.getContentPane().add(panel, BorderLayout.CENTER);

          RenderingEngine<CyNetwork> re = renderingEngineFactory.createRenderingEngine(panel, clusterView);

          vs.apply(clusterView);
          clusterView.fitContent();
          clusterView.updateView();
          window.pack();
          window.repaint();

          re.createImage(width, height);
View Full Code Here

Examples of y.view.Graph2DView.fitContent()

    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
Copyright © 2018 www.massapi.com. 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.