FileDocCategorySizeDatePackage
MenuWrapperFactory.javaAPI DocAndroid 5.1 API2139Thu Mar 12 22:22:56 GMT 2015android.support.v7.internal.view.menu

MenuWrapperFactory

public final class MenuWrapperFactory extends Object
hide

Fields Summary
Constructors Summary
private MenuWrapperFactory()

    
Methods Summary
public static android.view.MenuwrapSupportMenu(android.content.Context context, android.support.v4.internal.view.SupportMenu supportMenu)

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
            return new MenuWrapperICS(context, supportMenu);
        }
        throw new UnsupportedOperationException();
    
public static android.view.MenuItemwrapSupportMenuItem(android.content.Context context, android.support.v4.internal.view.SupportMenuItem supportMenuItem)

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
            return new MenuItemWrapperJB(context, supportMenuItem);
        } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
            return new MenuItemWrapperICS(context, supportMenuItem);
        }
        throw new UnsupportedOperationException();
    
public static android.view.SubMenuwrapSupportSubMenu(android.content.Context context, android.support.v4.internal.view.SupportSubMenu supportSubMenu)

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
            return new SubMenuWrapperICS(context, supportSubMenu);
        }
        throw new UnsupportedOperationException();