public ImageComponent[] getImages() {
		int n = getNumberOfInstances(ImageComponent.class);
		ImageComponent[] t = new ImageComponent[n];
		n = 0;
		synchronized (layerBasket) {
			for (Layered c : layerBasket) {
				if (c instanceof ImageComponent)
					t[n++] = (ImageComponent) c;
			}
		}
		return t;
	}