public static String getNameFromId(int figureId) {
    	String figureName = null;
    	switch (figureId) {
		case Figure.FIGURE_ID_I:
			figureName = "FigureI";
			break;
		case Figure.FIGURE_ID_T:
			figureName = "FigureT";
			break;
		case Figure.FIGURE_ID_O:
			figureName = "FigureO";
			break;
		case Figure.FIGURE_ID_L:
			figureName = "FigureL";
			break;
		case Figure.FIGURE_ID_J:
			figureName = "FigureJ";
			break;
		case Figure.FIGURE_ID_S:
			figureName = "FigureS";
			break;
		case Figure.FIGURE_ID_Z:
			figureName = "FigureZ";
			break;
		default:
			figureName = null;
			break;
    	}
    	return figureName;
    }