Team:Freiburg software/Code/RecChildBlipListBuilder.java

background-position:0% -42px; } background-position:100% -42px; color:#213340; } display:none; }
 * 1) tabs a.code_active {
 * 1) tabs a.code_active span {
 * 1) toc {

RecChildBlipListBuilder
/*
 * Copyright: synbiowave
 * License: GPL
 * Authors: Paul Staab
 * Version: 0.1
 * DESCRIPTION:
 * Small class to create a list of all the blips of a wave.
 * Version: 0.1
 * DESCRIPTION:
 * Small class to create a list of all the blips of a wave.
 * Small class to create a list of all the blips of a wave.

package org.synbiowave;

import java.util.ArrayList;

public class RecChildBlipListBuilder { private ArrayList recChildList = new ArrayList; RecChildBlipListBuilder(Blip blip) {		this.recBuilder(blip); }	private void recBuilder(Blip blip) {		try { this.recChildList.add(blip); //blip.getDocument.append("Children: " + blip.getChildren.size + "\n"); for (Blip blip2 : blip.getChildren) {			this.recBuilder(blip2); }		}		catch (Exception error) {			blip.createChild.getDocument.append("ERROR:" + error.toString); }	}	public ArrayList getRecChildList {		return this.recChildList; }	}