@Override
	public void setConstraint(GUIElement element, Object constraint) {

		switch ((layouts) constraint) {
		case TOP:
			top = element;
			break;
		case BOTTOM:
			bottom = element;
			break;
		case LEFT:
			left = element;
			break;
		case RIGHT:
			right = element;
			break;
		case CENTER:
			center = element;
			break;
		}
	}