public WidgetType getType(String name) { WidgetType type = null;
public JmeType getType(String name) { JmeType type = null;
    public WidgetType getType(String name) {        WidgetType type = null;        if (CENTER.name.equals(name)) {            type = CENTER;        } else if (EAST.name.equals(name)) {            type = EAST;        } else if (NORTH.name.equals(name)) {            type = NORTH;        } else if (SOUTH.name.equals(name)) {            type = SOUTH;        } else if (WEST.name.equals(name)) {            type = WEST;        }        return type;    }