Package cytoscape.visual.mappings

Examples of cytoscape.visual.mappings.PassThroughMapping


    return new BasicCalculator(createCalculatorName(style, pType), map, pType)
  }
 
  public static Calculator createNodeLabelCalculator(CustomStyle style){
    VisualPropertyType pType = VisualPropertyType.NODE_LABEL;
    PassThroughMapping map = new PassThroughMapping(String.class , CySBMLConstants.ATT_NAME);
    return new BasicCalculator(createCalculatorName(style, pType), map, pType);
  }
View Full Code Here


    return new BasicCalculator(createCalculatorName(style, pType), map, pType);
  }

  public static Calculator createNodeHeightCalculator(CustomStyle style){
    VisualPropertyType pType = VisualPropertyType.NODE_HEIGHT;
    PassThroughMapping map = new PassThroughMapping(Double.class, NetworkLayout.ATT_LAYOUT_HEIGHT);
    return new BasicCalculator(createCalculatorName(style, pType), map, pType)
  }
View Full Code Here

    return new BasicCalculator(createCalculatorName(style, pType), map, pType)
  }
 
  public static Calculator createNodeWidthCalculator(CustomStyle style){
    VisualPropertyType pType = VisualPropertyType.NODE_WIDTH;
    PassThroughMapping map = new PassThroughMapping(Double.class, NetworkLayout.ATT_LAYOUT_WIDTH);
    return new BasicCalculator(createCalculatorName(style, pType), map, pType)
  }
View Full Code Here

TOP

Related Classes of cytoscape.visual.mappings.PassThroughMapping

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.