Package org.biojava.bio.structure

Examples of org.biojava.bio.structure.StructureImpl


  private Structure structure; //biojava object

  public JSimJmolAdapter() {
    super("JSimJMolAdapter");

    structure = new StructureImpl();
  }
View Full Code Here


   * sets Structure
   * @param structure
   */
  public void setStructure(Structure structure) {
    if (structure == null)
      structure = new StructureImpl();

    this.structure = structure;
  }
View Full Code Here

   */
  @Override
  public AtomIterator getAtomIterator(Object clientFile) {
    if ( ! (clientFile instanceof Structure)) {

            return new ProjectedAtomIterator(new StructureImpl());
        }
       
        return new ProjectedAtomIterator(structure);
  }
View Full Code Here

    g.addAtom(a);

    Chain c = new ChainImpl();
    c.addGroup(g);

    Structure s = new StructureImpl();
    s.addChain(c);

    setStructure(s);

    s.setPDBCode("1AND");

    executeCmd("select *; spacefill off;");

  }
View Full Code Here

   * sets a new Structure to the display
   * @param struct
   */
  public void setStructure(Structure struct) {
    if (struct == null) {
      struct = new StructureImpl();
      initJmolDisplay();

    }

    this.structure = struct;
View Full Code Here

TOP

Related Classes of org.biojava.bio.structure.StructureImpl

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.