Package org.openscience.cdk.renderer.elements

Examples of org.openscience.cdk.renderer.elements.ElementGroup


   
    @Override
    public IRenderingElement generate( IAtomContainer ac, RendererModel model ) {
        JChemPaintRendererModel jcpModel = (JChemPaintRendererModel) model;
        if(hub == null || hub.getPhantoms()==null)
            return new ElementGroup();
        final ElementGroup group = new ElementGroup();
        for(IBond bond:hub.getPhantoms().bonds()) {
            this.setOverrideColor(Color.GRAY);
            IRenderingElement element = generateBond( bond, jcpModel);
            group.add(element);
        }
        return group;
    }
View Full Code Here

TOP

Related Classes of org.openscience.cdk.renderer.elements.ElementGroup

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.