Package org.cytoscape.view.model

Examples of org.cytoscape.view.model.VisualLexicon.lookup()


      clusterStyle.setDefaultValue(EDGE_SELECTED_PAINT, Color.BLUE);
      clusterStyle.setDefaultValue(EDGE_STROKE_SELECTED_PAINT, Color.BLUE);
      clusterStyle.setDefaultValue(EDGE_STROKE_SELECTED_PAINT, Color.BLUE);

      VisualLexicon lexicon = applicationMgr.getCurrentRenderingEngine().getVisualLexicon();
      VisualProperty vp = lexicon.lookup(CyEdge.class, "edgeTargetArrowShape");

      if (vp != null) {
        Object arrowValue = vp.parseSerializableString("ARROW");
        if (arrowValue != null) clusterStyle.setDefaultValue(vp, arrowValue);
      }
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.