public void setNode(Vector figures) {
   int size = figures.size();
   if (figures != null && (size > 0)) {
     for (int i = 0; i < size; i++) {
       Object o = figures.elementAt(i);
       if (o instanceof FigComponentInstance) {
         FigComponentInstance figcomp = (FigComponentInstance) o;
         figcomp.setEnclosingFig(this);
       }
     }
   }
 }
  public Object clone() {
    FigComponentInstance figClone = (FigComponentInstance) super.clone();
    Vector v = figClone.getFigs();
    figClone._bigPort = (FigRect) v.elementAt(0);
    figClone._cover = (FigRect) v.elementAt(1);
    figClone._stereo = (FigText) v.elementAt(2);
    figClone._name = (FigText) v.elementAt(3);
    figClone._upperRect = (FigRect) v.elementAt(4);
    figClone._lowerRect = (FigRect) v.elementAt(5);

    return figClone;
  }