Package civquest.swing.panes.managers

Examples of civquest.swing.panes.managers.EquiInfoPaneManager


       }

      JComponent infoPaneComponent = new JPanel();
      Registry paneRegistry = guiRegistry.getSubRegistry("panes");
      AbstractInfoPaneManager infoPaneManager = new EquiInfoPaneManager(infoPaneComponent,
                                        map,
                                        paneRegistry);
     
      GameStatusComponent gameStatusComp = new GameStatusComponent(session);
      GlobalFunctionComponent globFC = civQuest.getGlobalFunctionComponent();
      globFC.switchedToGame(new GameFunctionComponent(infoPaneManager,
                              map, gameStatusComp, guiRegistry,
                              civQuest));   
     
      JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
                          infoPaneComponent, scrollPane);
      Integer prefWidth = infoPaneManager.getPreferredWidth();
       if (prefWidth != null) {
         splitPane.setDividerLocation(prefWidth);
       }
      splitPane.setOneTouchExpandable(true);
View Full Code Here

TOP

Related Classes of civquest.swing.panes.managers.EquiInfoPaneManager

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.