if (typeCompare.equals("vertical")) {
return new VerticalLayout();
} else if (typeCompare.equals("center")) {
return new CenterLayout();
} else if (typeCompare.equals("horizontal")) {
return new HorizontalLayout();
} else if (typeCompare.equals("overlay")) {
return new OverlayLayout();
} else if (typeCompare.equals("absolute")) {
return new AbsolutePositionLayout();
} else if (typeCompare.equals("absolute-inside")) {