Package org.cytoscape.application.swing

Examples of org.cytoscape.application.swing.CytoPanel.indexOfComponent()


        mainPanel = this.mcodeUtil.getMainPanel();
      }

      if (mainPanel != null) {
        CytoPanel cytoPanel = this.mcodeUtil.getControlCytoPanel();
        int index = cytoPanel.indexOfComponent(mainPanel);
        cytoPanel.setSelectedIndex(index);
      }
    }
  }
View Full Code Here


                  }
                }

                CytoPanel cytoPanel = AnalyzeAction.this.swingApplication.getCytoPanel(CytoPanelName.EAST);

                if ((resultFound) || ((AnalyzeAction.this.analyze == 3) && (cytoPanel.indexOfComponent(resultsPanel) >= 0)))
                {
                  int index = cytoPanel.indexOfComponent(resultsPanel);
                  cytoPanel.setSelectedIndex(index);

                  if (cytoPanel.getState() == CytoPanelState.HIDE) cytoPanel.setState(CytoPanelState.DOCK);
View Full Code Here

                CytoPanel cytoPanel = AnalyzeAction.this.swingApplication.getCytoPanel(CytoPanelName.EAST);

                if ((resultFound) || ((AnalyzeAction.this.analyze == 3) && (cytoPanel.indexOfComponent(resultsPanel) >= 0)))
                {
                  int index = cytoPanel.indexOfComponent(resultsPanel);
                  cytoPanel.setSelectedIndex(index);

                  if (cytoPanel.getState() == CytoPanelState.HIDE) cytoPanel.setState(CytoPanelState.DOCK);
                }
              }
View Full Code Here

                curParaSet=(ParameterSet)it.next();
                if(checkEqual(curParams,curParaSet)){  //exists
                 
                  CytoPanel panel = swingApplication.getCytoPanel(CytoPanelName.WEST.EAST);
                  //CytoPanel panel = Cytoscape.getDesktop().getCytoPanel(SwingConstants.EAST);
                  resultIndex=panel.indexOfComponent(resultPanel);
//                 analyze=EXISTS;
//                   interruptedMessage="The result exits";
                    break;
                }
              }
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.