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

SubMenuWrapperICS

public class SubMenuWrapperICS extends MenuWrapperICS implements android.view.SubMenu
Wraps a support {@link SupportSubMenu} as a framework {@link android.view.SubMenu}
hide

Fields Summary
Constructors Summary
SubMenuWrapperICS(android.content.Context context, android.support.v4.internal.view.SupportSubMenu subMenu)

        super(context, subMenu);
    
Methods Summary
public voidclearHeader()

        getWrappedObject().clearHeader();
    
public android.view.MenuItemgetItem()

        return getMenuItemWrapper(getWrappedObject().getItem());
    
public android.support.v4.internal.view.SupportSubMenugetWrappedObject()

        return (SupportSubMenu) mWrappedObject;
    
public android.view.SubMenusetHeaderIcon(int iconRes)

        getWrappedObject().setHeaderIcon(iconRes);
        return this;
    
public android.view.SubMenusetHeaderIcon(android.graphics.drawable.Drawable icon)

        getWrappedObject().setHeaderIcon(icon);
        return this;
    
public android.view.SubMenusetHeaderTitle(int titleRes)

        getWrappedObject().setHeaderTitle(titleRes);
        return this;
    
public android.view.SubMenusetHeaderTitle(java.lang.CharSequence title)

        getWrappedObject().setHeaderTitle(title);
        return this;
    
public android.view.SubMenusetHeaderView(android.view.View view)

        getWrappedObject().setHeaderView(view);
        return this;
    
public android.view.SubMenusetIcon(android.graphics.drawable.Drawable icon)

        getWrappedObject().setIcon(icon);
        return this;
    
public android.view.SubMenusetIcon(int iconRes)

        getWrappedObject().setIcon(iconRes);
        return this;