Package org.freeplane.view.swing.map

Examples of org.freeplane.view.swing.map.MapViewScrollPane


   * @param controller */
  public DialogController(Controller controller, final IMapViewManager mapViewController, final JDialog dialog) {
    super(controller, mapViewController, "dialog_");
    this.dialog = dialog;
    getContentPane().setLayout(new BorderLayout());
    mapViewScrollPane = new MapViewScrollPane();
    getContentPane().add(mapViewScrollPane, BorderLayout.CENTER);
  }
View Full Code Here


  }

  @Override
  public void init(Controller controller) {
    mapContentBox = new JPanel(new BorderLayout());
    scrollPane = new MapViewScrollPane();
    mapContentBox.add(scrollPane, BorderLayout.CENTER);
    getContentPane().add(mapContentBox, BorderLayout.CENTER);
    super.init(controller);
    SwingUtilities.updateComponentTreeUI(applet);
    if (!EventQueue.isDispatchThread()) {
View Full Code Here

  protected View newDockedView(final Component pNewMap) {
    if(pNewMap.getParent() != null)
      return null;
      final String title = pNewMap.getName();
    MapViewScrollPane mapViewScrollPane = new MapViewScrollPane();
    mapViewScrollPane.getViewport().setView(pNewMap);
    @SuppressWarnings("serial")
        final View viewFrame = new ConnectedToMenuView(title, null, mapViewScrollPane);
      return viewFrame;
    }
View Full Code Here

TOP

Related Classes of org.freeplane.view.swing.map.MapViewScrollPane

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.