001package org.biopax.paxtools.io.sbgn; 002 003import java.util.List; 004import java.util.ArrayList; 005import org.ivis.layout.LGraphObject; 006import org.ivis.layout.LGraphObject; 007import org.ivis.layout.LNode; 008import org.ivis.layout.Updatable; 009import org.sbgn.bindings.Glyph; 010import org.sbgn.bindings.Bbox; 011import org.ivis.layout.cose.CoSEGraph; 012 013 014/** 015 * VCompound Class 016 * @author: Istemi Bahceci 017 * */ 018 019 020public class VCompound extends VNode implements Updatable 021{ 022 public List<VNode> children; 023 024 /** 025 * Default Constructor, creates a VCompound node by given glyph 026 * @param g Glyph object that VCompound object will be created from. 027 * */ 028 public VCompound(Glyph g) 029 { 030 super(g); 031 this.children = new ArrayList(); 032 } 033 034 /** 035 * Returns the child list of this VCompound 036 * @return child list of this VCompound. 037 * */ 038 public List<VNode> getChildren() 039 { 040 return children; 041 } 042}