FileDocCategorySizeDatePackage
SupportActionModeWrapper.javaAPI DocAndroid 5.1 API6050Thu Mar 12 22:22:56 GMT 2015android.support.v7.internal.view

SupportActionModeWrapper

public class SupportActionModeWrapper extends android.view.ActionMode
Wraps a support {@link android.support.v7.view.ActionMode} as a framework {@link android.view.ActionMode}.
hide

Fields Summary
final android.content.Context
mContext
final android.support.v7.view.ActionMode
mWrappedObject
Constructors Summary
public SupportActionModeWrapper(android.content.Context context, android.support.v7.view.ActionMode supportActionMode)

        mContext = context;
        mWrappedObject = supportActionMode;
    
Methods Summary
public voidfinish()

        mWrappedObject.finish();
    
public android.view.ViewgetCustomView()

        return mWrappedObject.getCustomView();
    
public android.view.MenugetMenu()

        return MenuWrapperFactory.wrapSupportMenu(mContext, (SupportMenu) mWrappedObject.getMenu());
    
public android.view.MenuInflatergetMenuInflater()

        return mWrappedObject.getMenuInflater();
    
public java.lang.CharSequencegetSubtitle()

        return mWrappedObject.getSubtitle();
    
public java.lang.ObjectgetTag()

        return mWrappedObject.getTag();
    
public java.lang.CharSequencegetTitle()

        return mWrappedObject.getTitle();
    
public booleangetTitleOptionalHint()

        return mWrappedObject.getTitleOptionalHint();
    
public voidinvalidate()

        mWrappedObject.invalidate();
    
public booleanisTitleOptional()

        return mWrappedObject.isTitleOptional();
    
public voidsetCustomView(android.view.View view)

        mWrappedObject.setCustomView(view);
    
public voidsetSubtitle(int resId)

        mWrappedObject.setSubtitle(resId);
    
public voidsetSubtitle(java.lang.CharSequence subtitle)

        mWrappedObject.setSubtitle(subtitle);
    
public voidsetTag(java.lang.Object tag)

        mWrappedObject.setTag(tag);
    
public voidsetTitle(int resId)

        mWrappedObject.setTitle(resId);
    
public voidsetTitle(java.lang.CharSequence title)

        mWrappedObject.setTitle(title);
    
public voidsetTitleOptionalHint(boolean titleOptional)

        mWrappedObject.setTitleOptionalHint(titleOptional);