public Layered[] getLayeredComponents() {
		int n = layerBasket.size();
		Layered[] l = new Layered[n];
		synchronized (layerBasket) {
			for (int i = 0; i < n; i++)
				l[i] = layerBasket.get(i);
		}
		return l;
	}